decode static method
Implementation
static PolylineAnnotation decode(Object result) {
result as List<Object?>;
return PolylineAnnotation(
id: result[0]! as String,
geometry: (result[1] as Map<Object?, Object?>?)?.cast<String?, Object?>(),
lineJoin: result[2] != null ? LineJoin.values[result[2]! as int] : null,
lineSortKey: result[3] as double?,
lineBlur: result[4] as double?,
lineColor: result[5] as int?,
lineGapWidth: result[6] as double?,
lineOffset: result[7] as double?,
lineOpacity: result[8] as double?,
linePattern: result[9] as String?,
lineWidth: result[10] as double?,
);
}