ListRevisionAssetsResponse.fromJson constructor

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

Implementation

factory ListRevisionAssetsResponse.fromJson(Map<String, dynamic> json) {
  return ListRevisionAssetsResponse(
    assets: (json['Assets'] as List?)
        ?.whereNotNull()
        .map((e) => AssetEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}