AccountsCustomBatchRequestEntryLinkRequest.fromJson constructor

AccountsCustomBatchRequestEntryLinkRequest.fromJson(
  1. Map json_
)

Implementation

AccountsCustomBatchRequestEntryLinkRequest.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        linkType: json_.containsKey('linkType')
            ? json_['linkType'] as core.String
            : null,
        linkedAccountId: json_.containsKey('linkedAccountId')
            ? json_['linkedAccountId'] as core.String
            : null,
        services: json_.containsKey('services')
            ? (json_['services'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );