RedeemData.fromJson constructor Null safety
- 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);
}