decode static method
Implementation
static CrashEvent decode(Object result) {
result as List<Object?>;
return CrashEvent(
time: result[0]! as int,
location: Location.decode(result[1]! as List<Object?>),
precedingLocations: (result[2] as List<Object?>?)!.cast<Location?>(),
magnitude: result[3]! as double,
speedAtImpact: result[4]! as double,
deltaV: result[5]! as double,
confidence: result[6]! as double,
);
}