WeekTypeConverter class
A dummy class holding static methods for WeekType
<-> String
conversions.
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
fromJson(
dynamic json) → WeekType -
Converts JSON into a
WeekType
. Errors if given JSON representation is invalid. -
fromStringDE(
String input) → WeekType -
Converts a German string into a
WeekType
. Errors if given type of week is not valid. -
toJson(
WeekType input) → dynamic -
Converts a
WeekType
to JSON. -
toStringDE(
WeekType input) → String -
Converts a
WeekType
to the corresponding German string.