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