RedeemData.fromJson constructor Null safety

RedeemData.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor that creates RedeemData from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory RedeemData.fromJson(Map<String, dynamic> json) {
  return RedeemDataImpl.fromJson(json);
}