TwoValueOperatorVariant<LEFT_TYPE extends Object, RIGHT_TYPE extends Object> class

Constructors

TwoValueOperatorVariant.new({required String description, required Object function(LEFT_TYPE left, RIGHT_TYPE right), required String expressionExample, String? expressionExampleResult, ProjectFilePath? codeExample})

Properties

codeExample ProjectFilePath?
final
description String
final
expressionExample String
final
expressionExampleResult String?
final
function Object Function(LEFT_TYPE left, RIGHT_TYPE right)
final
hashCode int
The hash code for this object.
no setterinherited
parameterTypeDescription String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

eval(Object leftValue, Object rightValue) Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(String operator, Object leftValue, Object rightValue) List<String>

Operators

operator ==(Object other) bool
The equality operator.
inherited