decode static method

ProductOption decode(
  1. Object message
)

Implementation

static ProductOption decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return ProductOption(
    id: pigeonMap['id'] as String?,
    value: pigeonMap['value'] as String?,
  );
}