ServiceAccount.fromJson constructor

ServiceAccount.fromJson(
  1. Map json_
)

Implementation

ServiceAccount.fromJson(core.Map json_)
    : this(
        key: json_.containsKey('key')
            ? ServiceAccountKey.fromJson(
                json_['key'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );