decode static method Null safety
- Object message
Implementation
static SourceQueryOptions decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return SourceQueryOptions(
sourceLayerIds:
(pigeonMap['sourceLayerIds'] as List<Object?>?)?.cast<String?>(),
filter: pigeonMap['filter']! as String,
);
}