FoundUsersAndGroups.fromJson constructor

FoundUsersAndGroups.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory FoundUsersAndGroups.fromJson(Map<String, Object?> json) {
  return FoundUsersAndGroups(
    groups: json[r'groups'] != null
        ? FoundGroups.fromJson(json[r'groups']! as Map<String, Object?>)
        : null,
    users: json[r'users'] != null
        ? FoundUsers.fromJson(json[r'users']! as Map<String, Object?>)
        : null,
  );
}