ActiveMeasurement constructor
ActiveMeasurement({})
Implementation
factory ActiveMeasurement({
$core.String? id,
$core.String? userId,
$core.int? seconds,
$1.Timestamp? createdAt,
$1.Timestamp? expiresAt,
Location? from,
$core.int? year,
Platform? device,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (userId != null) {
_result.userId = userId;
}
if (seconds != null) {
_result.seconds = seconds;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (expiresAt != null) {
_result.expiresAt = expiresAt;
}
if (from != null) {
_result.from = from;
}
if (year != null) {
_result.year = year;
}
if (device != null) {
_result.device = device;
}
return _result;
}