ListCreateAccountStatusResponse.fromJson constructor

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

Implementation

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