Robot constructor
Robot(
{ - String? id,
- String? name,
- String? location,
- Timestamp? lastAccess,
- Timestamp? createdOn,
})
Implementation
factory Robot({
$core.String? id,
$core.String? name,
$core.String? location,
$44.Timestamp? lastAccess,
$44.Timestamp? createdOn,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (name != null) {
$result.name = name;
}
if (location != null) {
$result.location = location;
}
if (lastAccess != null) {
$result.lastAccess = lastAccess;
}
if (createdOn != null) {
$result.createdOn = createdOn;
}
return $result;
}