toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (action != null) 'action': action!,
      if (eCommercePlatformLinkInfo != null)
        'eCommercePlatformLinkInfo': eCommercePlatformLinkInfo!,
      if (linkType != null) 'linkType': linkType!,
      if (linkedAccountId != null) 'linkedAccountId': linkedAccountId!,
      if (paymentServiceProviderLinkInfo != null)
        'paymentServiceProviderLinkInfo': paymentServiceProviderLinkInfo!,
      if (services != null) 'services': services!,
    };