GenerateAccessTokenRequest.fromJson constructor

GenerateAccessTokenRequest.fromJson(
  1. Map json_
)

Implementation

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