decode static method

CombainLocation decode(
  1. Object result
)

Implementation

static CombainLocation decode(Object result) {
  result as List<Object?>;
  return CombainLocation(
    latitude: result[0]! as double,
    longitude: result[1]! as double,
    altitude: result[2]! as double,
    accuracy: result[3]! as double,
    speed: result[4]! as double,
    fetchedTime: result[5]! as int,
    indoor: result[6] as CombainIndoorLocation?,
    bearing: result[7] as double?,
  );
}