ListHsmsResponse.fromJson constructor

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

Implementation

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