decode static method

Media decode(
  1. Object message
)

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?,
  );
}