toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '83281dbd',
'\$name': 'InputRichFileDocument',
'id': id,
'document': document,
};
// Finished toJson.
return returnValue;
}