LinkedAccount.fromJson constructor

LinkedAccount.fromJson(
  1. Map json_
)

Implementation

LinkedAccount.fromJson(core.Map json_)
    : this(
        linkedAccountId: json_.containsKey('linkedAccountId')
            ? json_['linkedAccountId'] as core.String
            : null,
        services: json_.containsKey('services')
            ? (json_['services'] as core.List)
                .map((value) => LinkService.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );