Order.fromJson constructor
Order.fromJson(
- dynamic json
Implementation
Order.fromJson(json) {
id = json['id'];
entries = json['entries'] == null
? []
: (json['entries'] as List<dynamic>).map((entry) => OrderEntry.fromJson(entry)).toList();
}