toPigeon method
Implementation
MessageOptionsData toPigeon() {
final attributesData = AttributesData()
..type =
EnumToString.convertToString(attributes?.type ?? AttributesType.NULL)
..data = attributes?.data;
final optionsData = MessageOptionsData()
..body = body
..attributes = attributesData
..inputPath = inputPath
..mimeType = mimeType
..filename = filename
..mediaProgressListenerId = _mediaProgressListenerId;
return optionsData;
}