decode static method
Implementation
static Media decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return Media(
fileName: pigeonMap['fileName'] as String?,
fileUrl: pigeonMap['fileUrl'] as String?,
fileIndex: pigeonMap['fileIndex'] as int?,
);
}