toJson method

Map<String, Object?> toJson()

The entry as written in the document's materials list: whichever of source and text is set.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'source': ?source,
  'text': ?text,
};