decode static method

MatchItem decode(
  1. Object message
)

Implementation

static MatchItem decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return MatchItem(
    from: pigeonMap['from']! as String,
    to: pigeonMap['to']! as String,
    filename: pigeonMap['filename']! as String,
    filesize: pigeonMap['filesize']! as int,
  );
}