decode static method
Implementation
static SmartGeofenceEvent decode(Object result) {
result as List<Object?>;
return SmartGeofenceEvent(
timestamp: result[0]! as int,
triggeringLocation: result[1]! as Location,
eventType: SmartGeofenceEventType.values[result[2]! as int],
geofences: (result[3] as List<Object?>?)!.cast<SmartGeofence?>(),
);
}