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