DeviceV2 class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
DeviceV2({int? id, String? serialNumber, String? displayName, bool? hasAcceptedPrivacyPolicy, DeviceAddressV2? address, bool? isConnected, DateTime? lastConnectedTimestamp, DeviceStatusV2? status, DateTime? statusUpdateTimestamp, List<
DeviceDealerOrgV2> ? dealerOrgs, int? alertCount, String? model, DateTime? lastMaintenanceTimestamp, DateTime? nextMaintenanceTimestamp, int? maintenancePeriodDays, bool? hasServiceAgreement, double? totalRuntimeHours}) -
const
-
DeviceV2.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → DeviceAddressV2?
-
final
- alertCount → int?
-
final
-
dealerOrgs
→ List<
DeviceDealerOrgV2> ? -
final
- displayName → String?
-
final
- hasAcceptedPrivacyPolicy → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasServiceAgreement → bool?
-
final
- id → int?
-
final
- isConnected → bool?
-
final
- lastConnectedTimestamp → DateTime?
-
final
- lastMaintenanceTimestamp → DateTime?
-
final
- maintenancePeriodDays → int?
-
final
- model → String?
-
final
- nextMaintenanceTimestamp → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → String?
-
final
- status → DeviceStatusV2?
-
final
- statusUpdateTimestamp → DateTime?
-
final
- totalRuntimeHours → double?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const DeviceV2 Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(DeviceV2 instance)