RoleMapping.fromJson constructor
Implementation
factory RoleMapping.fromJson(Map<String, dynamic> json) {
return RoleMapping(
type: (json['Type'] as String).toRoleMappingType(),
ambiguousRoleResolution: (json['AmbiguousRoleResolution'] as String?)
?.toAmbiguousRoleResolutionType(),
rulesConfiguration: json['RulesConfiguration'] != null
? RulesConfigurationType.fromJson(
json['RulesConfiguration'] as Map<String, dynamic>)
: null,
);
}