decode static method

ScanResult decode(
  1. Object message
)

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