Notifications class

Created by Injoit on 2019-12-27. Copyright © 2019 Quickblox. All rights reserved.

Constructors

Notifications()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(String type, String notificationType, int senderId, Map<String, Object> payload, {int? id, bool? active, String? name, int? pushType, double? date, int? endDate, String? period, int? occuredCount, List<String>? recipientsIds, List<String>? recipientsTagsAny, List<String>? recipientsTagsAll, List<String>? recipientsTagsExclude}) Future<List<QBEvent?>>
get({int page = 1, int perPage = 10}) Future<List<QBEvent?>>
getById(int id) Future<QBEvent?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(int id) Future<void>
toString() String
A string representation of this object.
inherited
update(int id, {bool? active, Map<String, Object>? payload, double? date, String? period, String? name}) Future<QBEvent?>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

CHANNEL_NAME → const String
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
CREATE_METHOD → const String
GET_BY_ID_METHOD → const String
GET_METHOD → const String
REMOVE_METHOD → const String
UPDATE_METHOD → const String