ListAppsResponse.fromJson constructor

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

Implementation

factory ListAppsResponse.fromJson(Map<String, dynamic> json) {
  return ListAppsResponse(
    apps: (json['apps'] as List?)
        ?.whereNotNull()
        .map((e) => AppSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}