My app provides two types of users. I need to divide FirebaseAuth thus one user cannot access to the user group of the other and vice versa. I can't find a valid solution to do that. Any suggestions?
at the moment to create User in FirebaseAuth i use this method:
RaisedButton(
elevation: 10,
onPressed: rememberMe ? () async {
try {
final newUser =
await _auth.createUserWithEmailAndPassword(
email: InUser.email, password: password);
but I can't understand how to split the groups.