decode static method

SnapshotRequest decode(
  1. Object message
)

Implementation

static SnapshotRequest decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return SnapshotRequest(
    outputPath: pigeonMap['outputPath']! as String,
    imageType: pigeonMap['imageType']! as String,
  );
}