toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final type = this.type;
  final ambiguousRoleResolution = this.ambiguousRoleResolution;
  final rulesConfiguration = this.rulesConfiguration;
  return {
    'Type': type.toValue(),
    if (ambiguousRoleResolution != null)
      'AmbiguousRoleResolution': ambiguousRoleResolution.toValue(),
    if (rulesConfiguration != null) 'RulesConfiguration': rulesConfiguration,
  };
}