RestDescriptionAuthOauth2.fromJson constructor

RestDescriptionAuthOauth2.fromJson(
  1. Map json_
)

Implementation

RestDescriptionAuthOauth2.fromJson(core.Map json_)
    : this(
        scopes: json_.containsKey('scopes')
            ? (json_['scopes'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  RestDescriptionAuthOauth2ScopesValue.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );