ServiceAccount.fromJson constructor

ServiceAccount.fromJson(
  1. Map json_
)

Implementation

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