OAuth2Info.fromJson constructor

OAuth2Info.fromJson(
  1. Map<String, dynamic> json
)

Implementation

OAuth2Info.fromJson(Map<String, dynamic> json)
    : enabled = json['enabled'],
      oauth2ParamsInfos = (json['oauth2ParamsInfos'] as List<dynamic>)
          .map((e) => OAuth2ParamsInfo.fromJson(e))
          .toList();