ListAppInstancesResponse.fromJson constructor

ListAppInstancesResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListAppInstancesResponse.fromJson(Map<String, dynamic> json) {
  return ListAppInstancesResponse(
    appInstances: (json['AppInstances'] as List?)
        ?.whereNotNull()
        .map((e) => AppInstanceSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}