ServiceAccountConfig.fromJson constructor

ServiceAccountConfig.fromJson(
  1. Map json_
)

Implementation

ServiceAccountConfig.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        tenantProjectRoles: json_.containsKey('tenantProjectRoles')
            ? (json_['tenantProjectRoles'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );