toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'text': text,
      'timestamp': timestamp.millisecondsSinceEpoch,
      'person': person?.toMap(),
      'dataMimeType': dataMimeType,
      'dataUri': dataUri
    };