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})
Location.fromJson(Map<String, dynamic> json)
factory

Properties

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

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