decode static method
Implementation
static VehicleCrashDiagnostic decode(Object result) {
result as List<Object?>;
return VehicleCrashDiagnostic(
crashDetectionState: VehicleCrashDetectionState.values[result[0]! as int],
crashDetectionStateDescription: result[1]! as String,
);
}