SpringUtil class

Constructors

SpringUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

clamp(double value, double low, double high) double
Clamp a value to be within the provided range. @param value the value to clamp @param low the low end of the range @param high the high end of the range @return the clamped value
mapValueFromRangeToRange(double value, double fromLow, double fromHigh, double toLow, double toHigh) double
Map a value within a given range to another range. @param value the value to map @param fromLow the low end of the range the value is within @param fromHigh the high end of the range the value is within @param toLow the low end of the range to map to @param toHigh the high end of the range to map to @return the mapped value