toJson method
Returns a JSON object which represents this object.
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
ApiFields.stopId: stopId,
ApiFields.name: name,
ApiFields.seqNum: seqNum,
ApiFields.time: time.toWmataString(),
};
}