AuthError.from constructor

AuthError.from({
  1. required String code,
  2. required String reason,
})

Returns the new instance of AuthError based on arguments.

Implementation

AuthError.from({
  required this.code,
  required this.reason,
});