toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'type'] = type;
  json[r'predicate'] = predicate;
  return json;
}