RestDescriptionAuth.fromJson constructor Null safety

RestDescriptionAuth.fromJson(
  1. Map _json
)

Implementation

RestDescriptionAuth.fromJson(core.Map _json)
    : this(
        oauth2: _json.containsKey('oauth2')
            ? RestDescriptionAuthOauth2.fromJson(
                _json['oauth2'] as core.Map<core.String, core.dynamic>)
            : null,
      );