decode static method
Implementation
static ScanResult decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return ScanResult(
resultString: pigeonMap['resultString'] as String?,
resultFormat: pigeonMap['resultFormat'] as String?,
);
}