ListUsersInGroupResponse.fromJson constructor

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

Implementation

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