EventDTO class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- EventDTO({int? id, String? name, DeviceEventLevelDTO? level, String? event, FmiDTO? fmi, int? parameterId, String? parameter, DateTime? timestamp, EventTypeDTO? type, bool? isCriticalFault})
-
const
-
EventDTO.fromJson(Map<
String, dynamic> json) -
factory
Properties
- event → String?
-
final
- fmi → FmiDTO?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
final
- isCriticalFault → bool?
-
final
- level → DeviceEventLevelDTO?
-
final
- name → String?
-
final
- parameter → String?
-
final
- parameterId → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime?
-
final
- type → EventTypeDTO?
-
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 EventDTO Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(EventDTO instance)