toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (avsResponseCode != null) 'avsResponseCode': avsResponseCode!,
      if (cvvResponseCode != null) 'cvvResponseCode': cvvResponseCode!,
      if (gatewayResponseCode != null)
        'gatewayResponseCode': gatewayResponseCode!,
      if (name != null) 'name': name!,
    };