GeneratorResponseModel class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- GeneratorResponseModel({int? id, String? serialnumber, String? displayname, String? lat, String? long, String? address1, String? city, String? state, String? postalcode, dynamic ipaddress, bool? isconnected, bool? isshutdownalert, int? datelastconnected, String? datetimelastconnected, String? lastconnectedrelativetime, String? devicestate, int? alertcnt, String? status, String? modelnumber, int? lastdevicestateupdated, String? lastdevicestateupdateddatetimeutc, String? switchstate})
-
const
-
GeneratorResponseModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address1 → String?
-
final
- alertcnt → int?
-
final
- city → String?
-
final
- datelastconnected → int?
-
final
- datetimelastconnected → String?
-
final
- devicestate → String?
-
final
- displayname → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
final
- ipaddress → dynamic
-
final
- isconnected → bool?
-
final
- isshutdownalert → bool?
-
final
- lastconnectedrelativetime → String?
-
final
- lastdevicestateupdated → int?
-
final
- lastdevicestateupdateddatetimeutc → String?
-
final
- lat → String?
-
final
- long → String?
-
final
- modelnumber → String?
-
final
- postalcode → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialnumber → String?
-
final
- state → String?
-
final
- status → String?
-
final
- switchstate → String?
-
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 GeneratorResponseModel Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(GeneratorResponseModel instance)