Converts a file message to the map representation, encodable to JSON.
@override Map<String, dynamic> toJson() => _$FileMessageToJson(this);