toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (filterKey != null) {
    json[r'filterKey'] = filterKey;
  }
  if (filterValue != null) {
    json[r'filterValue'] = filterValue;
  }
  if (entityClass != null) {
    json[r'entityClass'] = entityClass;
  }
  if (fieldValue != null) {
    json[r'fieldValue'] = fieldValue;
  }
  if (fieldDisplay != null) {
    json[r'fieldDisplay'] = fieldDisplay;
  }
  return json;
}