greaterThanOrEqualConditionValue method

bool greaterThanOrEqualConditionValue(
  1. Object? value1,
  2. Object? value2, {
  3. Object? parameters,
  4. List? positionalParameters,
  5. Map<String, Object?>? namedParameters,
  6. TypeInfo? keyType,
  7. EntityHandler? keyEntityHandler,
})

Implementation

bool greaterThanOrEqualConditionValue(Object? value1, Object? value2,
    {Object? parameters,
    List? positionalParameters,
    Map<String, Object?>? namedParameters,
    TypeInfo? keyType,
    EntityHandler? keyEntityHandler}) {
  if (value1 is ConditionParameter) {
    return value1.greaterThanOrEqual(value2,
        parameters: parameters,
        positionalParameters: positionalParameters,
        namedParameters: namedParameters,
        entityHandler: keyEntityHandler);
  } else if (value2 is ConditionParameter) {
    return value2.lessThanOrEqual(value1,
        parameters: parameters,
        positionalParameters: positionalParameters,
        namedParameters: namedParameters,
        entityHandler: keyEntityHandler);
  } else {
    var match = EntityHandler.graterThanOrEqualValue(value1, value2,
        entityHandler: keyEntityHandler);
    return match;
  }
}