toJson method
Implementation
Map<String, dynamic> toJson() {
final field = this.field;
final endsWith = this.endsWith;
final equals = this.equals;
final notEndsWith = this.notEndsWith;
final notEquals = this.notEquals;
final notStartsWith = this.notStartsWith;
final startsWith = this.startsWith;
return {
'Field': field,
if (endsWith != null) 'EndsWith': endsWith,
if (equals != null) 'Equals': equals,
if (notEndsWith != null) 'NotEndsWith': notEndsWith,
if (notEquals != null) 'NotEquals': notEquals,
if (notStartsWith != null) 'NotStartsWith': notStartsWith,
if (startsWith != null) 'StartsWith': startsWith,
};
}