Properties
-
copyWith
→ _$$OneOfExpectationImplCopyWith<_$OneOfExpectationImpl>
-
Create a copy of ExpectationType
with the given fields replaced by the non-null parameter values.
no setter
-
description
→ String?
-
no setter
-
expectations
→ List<ExpectationType>
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<TResult extends Object?>({required TResult oneOf(OneOfExpectation value), required TResult statement(StatementExpectation value), required TResult token(TokenExpectation value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? oneOf(OneOfExpectation value)?, TResult? statement(StatementExpectation value)?, TResult? token(TokenExpectation value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult oneOf(OneOfExpectation value)?, TResult statement(StatementExpectation value)?, TResult token(TokenExpectation value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult oneOf(List<ExpectationType> expectations, String? description)?, TResult statement(Statement statement, String? description)?, TResult token(TokenType token, String? description)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult oneOf(List<ExpectationType> expectations, String? description), required TResult statement(Statement statement, String? description), required TResult token(TokenType token, String? description)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? oneOf(List<ExpectationType> expectations, String? description)?, TResult? statement(Statement statement, String? description)?, TResult? token(TokenType token, String? description)?})
→ TResult?
-
inherited