Engin class

Annotations
  • @JsonSerializable()

Constructors

Engin.new({required int id, required String name, required List<EnginComposition> composition, required int longueur, DateTime? updated_at, String? colorHex})
Engin.fromJson(Map<String, dynamic> json)
factory

Properties

colorHex String?
getter/setter pair
composition List<EnginComposition>
getter/setter pair
fullName String
no setter
getSerieName String
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
final
longueur int
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serie EnginSerie?
getter/setter pair
updated_at DateTime?
getter/setter pair

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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited