OrdersListResponse.fromJson constructor
OrdersListResponse.fromJson(
- Map json_
Implementation
OrdersListResponse.fromJson(core.Map json_)
: this(
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
resources: json_.containsKey('resources')
? (json_['resources'] as core.List)
.map((value) => Order.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);