GeoEventObject constructor

GeoEventObject({
  1. String? id,
  2. String? subjectId,
  3. String? areaId,
  4. GeoEventType? eventType,
  5. Timestamp? timestamp,
  6. double? confidence,
  7. String? pointId,
  8. Struct? extra,
})

Implementation

factory GeoEventObject({
  $core.String? id,
  $core.String? subjectId,
  $core.String? areaId,
  GeoEventType? eventType,
  $2.Timestamp? timestamp,
  $core.double? confidence,
  $core.String? pointId,
  $6.Struct? extra,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (subjectId != null) {
    $result.subjectId = subjectId;
  }
  if (areaId != null) {
    $result.areaId = areaId;
  }
  if (eventType != null) {
    $result.eventType = eventType;
  }
  if (timestamp != null) {
    $result.timestamp = timestamp;
  }
  if (confidence != null) {
    $result.confidence = confidence;
  }
  if (pointId != null) {
    $result.pointId = pointId;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}