MemberDefinition.fromJson constructor

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

Implementation

factory MemberDefinition.fromJson(Map<String, dynamic> json) {
  return MemberDefinition(
    cognitoMemberDefinition: json['CognitoMemberDefinition'] != null
        ? CognitoMemberDefinition.fromJson(
            json['CognitoMemberDefinition'] as Map<String, dynamic>)
        : null,
    oidcMemberDefinition: json['OidcMemberDefinition'] != null
        ? OidcMemberDefinition.fromJson(
            json['OidcMemberDefinition'] as Map<String, dynamic>)
        : null,
  );
}