toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (batchId != null) 'batchId': batchId!,
      if (destinations != null) 'destinations': destinations!,
      if (merchantId != null) 'merchantId': merchantId!,
      if (method != null) 'method': method!,
    };