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 (contactEmail != null) 'contactEmail': contactEmail!,
      if (contactName != null) 'contactName': contactName!,
      if (country != null) 'country': country!,
      if (gmbEmail != null) 'gmbEmail': gmbEmail!,
      if (liaSettings != null) 'liaSettings': liaSettings!,
      if (merchantId != null) 'merchantId': merchantId!,
      if (method != null) 'method': method!,
      if (omnichannelExperience != null)
        'omnichannelExperience': omnichannelExperience!,
      if (posDataProviderId != null) 'posDataProviderId': posDataProviderId!,
      if (posExternalAccountId != null)
        'posExternalAccountId': posExternalAccountId!,
    };