toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'stationID': stationID,
'name': name,
'type': type,
'logo': logo.toJson(),
'banner': banner.toJson(),
'products': products.map((equipment) => equipment.toJson()).toList(),
};
}