ApartmentModel class
Constructors
- ApartmentModel({required String id, required String name, required double longitude, required double latitude, required int day, required String address, required DateTime createdAt, required DateTime updatedAt})
-
const
- ApartmentModel.fromJson(dynamic json)
-
factory
Properties
- address → String
-
final
- createdAt → DateTime
-
final
- day → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- latitude → double
-
final
- longitude → double
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime
-
final
Methods
-
copy(
{String? id, String? name, int? day, double? longitude, double? latitude, String? address, DateTime? createdAt, DateTime? updatedAt}) → ApartmentModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited