ListUsersResponse.fromJson constructor
Implementation
factory ListUsersResponse.fromJson(Map<String, dynamic> json) {
return ListUsersResponse(
nextToken: json['NextToken'] as String?,
requestId: json['RequestId'] as String?,
userList: (json['UserList'] as List?)
?.whereNotNull()
.map((e) => User.fromJson(e as Map<String, dynamic>))
.toList(),
);
}