Location class Null safety

Constructors

Location({String? room, String? building})
Location.fromJson(Map<String, dynamic> json)
factory
Location.fromRawJson(String str)
factory

Properties

building String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
room String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({String? room, String? building}) Location
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toRawJson() String
toString() String
A string representation of this object. [...]
override

Operators

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