ListUsersResponse.fromJson constructor
Implementation
factory ListUsersResponse.fromJson(Map<String, dynamic> json) {
return ListUsersResponse(
serverId: json['ServerId'] as String,
users: (json['Users'] as List)
.whereNotNull()
.map((e) => ListedUser.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}