decode static method
- Object result
Implementation
static MapSnapshotOptions decode(Object result) {
result as List<Object?>;
return MapSnapshotOptions(
size: Size.decode(result[0]! as List<Object?>),
pixelRatio: result[1]! as double,
glyphsRasterizationOptions: result[2] != null
? GlyphsRasterizationOptions.decode(result[2]! as List<Object?>)
: null,
showsLogo: result[3] as bool?,
showsAttribution: result[4] as bool?,
);
}