LocationConverter class Null safety
Json converter for Location
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 -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
fromJson(
Json? json) → Location - Creates Location from Json
-
fromJsonList(
List< Json> ? list) → List<Location> - Creates Location from Json
-
fromJsonListString(
String value) → List< Location> - Creates Location from Json string
-
fromJsonString(
String value) → Location - Creates Location from Json string
-
toJson(
Location? instance) → Map - Creates Json representation of Location
-
toJsonList(
List< Location> ? list) → List<Map> - Creates Json representation of Location list
-
toJsonListString(
List< Location> ? location) → String - String representation of Location as Json
-
toJsonString(
Location? location) → String - String representation of Location as Json