NIMMemberPushOption class Null safety
Push notification configuration for specified members
- If a 414 error code is returned, the format of the forcePushList parameter is invalid. An 811 error code indicates that the upper limit of the accounts for push notifications is reached. Up to 100 accounts are allowed
- Annotations
-
- @JsonSerializable()
Constructors
-
NIMMemberPushOption({String? forcePushContent, List<
String> ? forcePushList, bool isForcePush = true}) -
NIMMemberPushOption.fromMap(Map<
String, dynamic> map) -
factory
Properties
- forcePushContent ↔ String?
-
Content for force push notification
read / write
-
forcePushList
↔ List<
String> ? -
List of accounts for force push notification
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- isForcePush ↔ bool
-
Specify whether to enable force push
@JsonKey(defaultValue: true), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited