WeekdayConverter class
A dummy class holding static methods for Weekday
<-> 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) → Weekday -
Converts JSON into a
Weekday
. Errors if given JSON representation is invalid. -
fromStringDE(
String input) → Weekday -
Converts a German string into a
Weekday
(case-insensetive). Errors if given day of week is not valid. -
fromStringEN(
String input) → Weekday -
Converts an English string into a
Weekday
(case-insensetive). Errors if given day of week is not valid. -
toJson(
Weekday input) → dynamic -
Converts a
Weekday
to JSON. -
toStringDE(
Weekday input) → String -
Converts a
Weekday
to the corresponding German string. -
toStringEN(
Weekday input) → String -
Converts a
Weekday
to the corresponding English string.