GeoLocationModel class Null safety

A model for a geo location.

Annotations

Constructors

GeoLocationModel({required String lat, required String lng})
Creates a geo location model.
const
factory
GeoLocationModel.fromJson(Map<String, dynamic> json)
Creates a geo location model from json.
factory

Properties

copyWith → $GeoLocationModelCopyWith<GeoLocationModel>
@JsonKey(ignore: true), read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
lat String
read-only, inherited
lng String
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
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited