Voie class

Annotations
  • @JsonSerializable()

Constructors

Voie.new({required int id, required int longueur, required bool electrifiee, bool hors_service = false, String? type, bool sous_tension = false, String comment = "", DateTime? created_at, DateTime? updated_at, required List<VoieEngin> VoieEngins})
Voie.fromJson(Map<String, dynamic> json)
factory

Properties

comment String
getter/setter pair
created_at DateTime?
getter/setter pair
electrifiee bool
final
hashCode int
The hash code for this object.
no setterinherited
hors_service bool
getter/setter pair
id int
final
longueur int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sous_tension bool
getter/setter pair
type String?
getter/setter pair
updated_at DateTime?
getter/setter pair
valide_coupure bool?
getter/setter pair
VoieEngins List<VoieEngin>
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