StringConverter class abstract

A converter that converts Strings.

Inheritance
Implementers

Constructors

StringConverter(String id)
Creates a converter that converts Strings.
const

Properties

category String
The id of the category of this unit.
no setterinherited
categoryName String
The id of the category of this unit.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasSymbol bool
Whether this unit has a symbol.
no setterinherited
id String
The id of this unit.
finalinherited
name String
The localized name of this unit.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
The localized symbol of this unit.
no setterinherited

Methods

call(Converter<String> other, String value) String
Convertes the given value from this unit to the other unit.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to(Converter<String> other, String value) String
Convertes the given value from this unit to the other unit.
inherited
toString() String
A string representation of this object.
inherited
typeCheckConverter<C extends Converter<T>>(Converter<String> other) → C
Throws an ArgumentError if the Types of the two Converters don't match and returns the casted converter otherwise.
inherited

Operators

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