Used to check if a Result is an Err
Result
Err
Returns true if the result is an Err variant of Result
true
@override // ignore: unnecessary_type_check bool isErr() => this is Err<T, E>;