Canteen class
Models a canteen containing information about its metadata.
Constructors
Properties
- address → String
-
The canteen's address.
final
- city → String
-
The canteen's city.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The canteen's internal ID.
final
- latitude → double
-
The canteen's latitude.
final
- longitude → double
-
The canteen's longitude.
final
- name → String
-
The canteen's name.
final
-
props
→ List<
Object> -
The canteen's properties.
See
Equatable.props
for more information.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
The canteen should get an automatically generated
toString method, based on props.
See
Equatable.stringify
for more information.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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