decode static method
Implementation
static Location decode(Object result) {
result as List<Object?>;
return Location(
timestamp: result[0]! as int,
latitude: result[1]! as double,
longitude: result[2]! as double,
accuracy: result[3] as double?,
altitude: result[4] as double?,
provider: result[5] as String?,
);
}