AdminUserRequest constructor

AdminUserRequest({
  1. String? userId,
  2. String? email,
  3. Iterable<String>? ids,
  4. Iterable<String>? emails,
  5. bool? decrypt,
  6. User? user,
  7. bool? overwriteId,
})

Implementation

factory AdminUserRequest({
  $core.String? userId,
  $core.String? email,
  $core.Iterable<$core.String>? ids,
  $core.Iterable<$core.String>? emails,
  $core.bool? decrypt,
  User? user,
  $core.bool? overwriteId,
}) {
  final _result = create();
  if (userId != null) {
    _result.userId = userId;
  }
  if (email != null) {
    _result.email = email;
  }
  if (ids != null) {
    _result.ids.addAll(ids);
  }
  if (emails != null) {
    _result.emails.addAll(emails);
  }
  if (decrypt != null) {
    _result.decrypt = decrypt;
  }
  if (user != null) {
    _result.user = user;
  }
  if (overwriteId != null) {
    _result.overwriteId = overwriteId;
  }
  return _result;
}