Gateway class Null safety Models

게이트웨이 모델입니다.

Annotations

Constructors

Gateway({required String id, Farm? farm})
Gateway.fromJson(Map<String, dynamic> json)
factory

Properties

farm Farm?
게이트웨이가 속한 농장
@JsonKey(name: 'farm_id', fromJson: farmFromFarmId, toJson: farmToFarmId), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
게이트웨이 아이디
@JsonKey(name: 'id'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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