ListAppsResult.fromJson constructor

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

Implementation

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