decode static method
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,
);
}