StoreModel class

Constructors

StoreModel({required String id, required String name, required String? description, required String? thumbnail, required String apartmentId, required String phone, required bool activated, required int throttle, required DateTime updatedAt, required DateTime createdAt, required Iterable<AvailableTakeoutModel> availableTakeouts, required Iterable<ItemModel> items})
const
StoreModel.fromJson(dynamic json)
factory

Properties

activated bool
final
apartmentId String
final
availableTakeouts Iterable<AvailableTakeoutModel>
final
createdAt DateTime
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
items Iterable<ItemModel>
final
name String
final
phone String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throttle int
final
thumbnail String?
final
updatedAt DateTime
final

Methods

copy({String? id, String? name, Option<String>? description, Option<String>? thumbnail, String? apartmentId, String? phone, bool? activated, int? throttle, DateTime? updatedAt, DateTime? createdAt, Iterable<AvailableTakeoutModel>? availableTakeouts, Iterable<ItemModel>? items}) StoreModel
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