decode static method

MapSnapshotOptions decode(
  1. Object result
)

Implementation

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