ResourceServerType.fromJson constructor
Implementation
factory ResourceServerType.fromJson(Map<String, dynamic> json) {
return ResourceServerType(
identifier: json['Identifier'] as String?,
name: json['Name'] as String?,
scopes: (json['Scopes'] as List?)
?.whereNotNull()
.map((e) =>
ResourceServerScopeType.fromJson(e as Map<String, dynamic>))
.toList(),
userPoolId: json['UserPoolId'] as String?,
);
}