InvokablePrimitive class abstract
Constructors
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
-
getValue(
) → dynamic -
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
-
customDateTime(
dynamic input, dynamic pattern, {Locale? locale}) → String -
parseDateTime(
dynamic input) → DateTime? - try to parse the input into a DateTime. The returned DateTime is in UTC/GMT timezone (not your local DateTime)
-
prettyCurrency(
dynamic input, {Locale? locale}) → String -
prettyDate(
dynamic input, {Locale? locale}) → String -
prettyDateTime(
dynamic input, {Locale? locale}) → String -
prettyDuration(
dynamic input, {Locale? locale}) → String - input should be # of seconds
-
prettyTime(
dynamic input, {Locale? locale}) → String