decode static method Null safety
- Object message
Implementation
static StyleObjectInfo decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return StyleObjectInfo(
id: pigeonMap['id']! as String,
type: pigeonMap['type']! as String,
);
}