ListHapgsResponse.fromJson constructor

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

Implementation

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