ExtractFileMessage extension

Provides an extension on FileMessage to convert the message into a map.

This extension adds functionality to the FileMessage class, allowing the message and its parameters to be easily converted into a map. This is particularly useful for serialization or when interfacing with APIs that require data in map form.

on

Methods

toMap() Map<String, dynamic>

Available on FileMessage, provided by the ExtractFileMessage extension

Converts a FileMessage object into a map.