emitAuthResponse<T extends Auth<AuthKeys>> method

Future<AuthResponse<T>> emitAuthResponse<T extends Auth<AuthKeys>>(
  1. AuthResponse<T> data, {
  2. Object? args,
  3. String? id,
  4. bool notifiable = true,
})

Implementation

Future<AuthResponse<T>> emitAuthResponse<T extends Auth>(
  AuthResponse<T> data, {
  Object? args,
  String? id,
  bool notifiable = true,
}) {
  return _i<T>(
    "emitAuthResponse",
  ).emit(data, args: args, id: id, notifiable: notifiable);
}