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

Static Properties

col ↔ CollectionReference<Object?>
getter/setter pair

Static Methods

create({String? clubId, required String title}) Future<Meetup>
오프라인 모임 일정 만들기
get(DocumentReference<Object?> ref) Future<Meetup>
toCreate({String? clubId, required String title}) Map<String, dynamic>
오프라인 모임 생성을 위한, 데이터 맵을 만든다.