toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.isRedeemableGlobally != null) {
    json[r'isRedeemableGlobally'] = this.isRedeemableGlobally;
  } else {
    json[r'isRedeemableGlobally'] = null;
  }
  if (this.redemptionInstructions != null) {
    json[r'redemptionInstructions'] = this.redemptionInstructions;
  } else {
    json[r'redemptionInstructions'] = null;
  }
  return json;
}