ExtractFileMessageParams extension

Provides an extension on FileMessageParams to convert the file message parameters into a map.

This extension adds functionality to the FileMessageParams class, allowing the file message 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 FileMessageParams, provided by the ExtractFileMessageParams extension

Converts a FileMessageParams object into a map.