Meetup class
Constructors
-
Meetup({required String id, required String? clubId, required String uid, required String title, required String description, required String? photoUrl, required List<
String> users, required DateTime? meetAt}) - Meetup.fromMap(Map map, String id)
-
factory
-
Meetup.fromSnapshot(DocumentSnapshot<
Object?> snapshot) -
factory
Properties
- clubId → String?
-
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- joined → bool
-
no setter
- meetAt → DateTime?
-
final
- photoUrl → String?
-
final
-
ref
→ DocumentReference<
Object?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
final
- uid → String
-
final
-
users
→ List<
String> -
final
Methods
-
join(
) → Future< void> -
leave(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Generate toMap method
-
toString(
) → String -
A string representation of this object.
override
-
update(
{String? title, String? description, String? photoUrl, bool? hasPhoto, DateTime? meetAt}) → Future< void> - Update club
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited