Location class Null safety

Constructors

Location({required int id, required String name, required String type, required String dimension, required List<String> residents, required String url, required DateTime created})
Location.fromJson(Map<String, dynamic> json)
factory

Properties

created DateTime
final
dimension String
final
hashCode int
The hash code for this object.
read-onlyinherited
id int
final
name String
final
residents List<String>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type String
final
url String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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