ListInstancesResponse.fromJson constructor
Implementation
factory ListInstancesResponse.fromJson(Map<String, dynamic> json) {
return ListInstancesResponse(
instances: (json['Instances'] as List?)
?.whereNotNull()
.map((e) => InstanceMetadata.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}