decode static method
Implementation
static ToggleMessage decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return ToggleMessage()..enable = pigeonMap['enable'] as bool?;
}
static ToggleMessage decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return ToggleMessage()..enable = pigeonMap['enable'] as bool?;
}