Motion constructor
Motion({})
Creates a Motion object.
Implementation
Motion({
required super.type,
required super.id,
this.idV1 = "",
required this.owner,
required this.isEnabled,
required this.hasMotion,
required this.isValidMotion,
}) : assert(idV1.isEmpty || Validators.isValidIdV1(idV1),
'"$idV1" is not a valid `idV1`'),
_originalIsEnabled = isEnabled;