TListOauth2CredentialsResponse.fromJson constructor

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

Implementation

factory TListOauth2CredentialsResponse.fromJson(Map<String, dynamic> json) {
  final _oauth2Credentials = (json['oauth2Credentials'] as List).map((e) => v1Oauth2Credential.fromJson(e as Map<String, dynamic>)).toList();
  return TListOauth2CredentialsResponse(
    oauth2Credentials: _oauth2Credentials,
  );
}