ListUpdatesResponse.fromJson constructor

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

Implementation

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