toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var fields = this.fields;

  final json = <String, Object?>{};
  if (fields != null) {
    json[r'fields'] = fields;
  }
  return json;
}