NotificationContent class

NotificationContent Dart 模型

Constructors

NotificationContent({List<NotificationAttachment>? attachments, int? badge, String? body, String? categoryIdentifier, String? launchImageName, String? sound, String? subtitle, String? threadIdentifier, String? title, Map<String, dynamic>? userInfo, NotificationPayload? payload, NotificationCustomData? customData, String? summaryArgument, int? summaryArgumentCount, String? targetContentIdentifier, String? interruptionLevel, double? relevanceScore, String? filterCriteria})
NotificationContent.fromJson(Map<String, dynamic> json)
factory

Properties

attachments → List<NotificationAttachment>?
final
badge → int?
final
body → String?
final
categoryIdentifier → String?
final
customData → NotificationCustomData?
final
filterCriteria → String?
final
hashCode → int
The hash code for this object.
no setterinherited
interruptionLevel → String?
final
launchImageName → String?
final
payload → NotificationPayload?
final
relevanceScore → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sound → String?
final
subtitle → String?
final
summaryArgument → String?
final
summaryArgumentCount → int?
final
targetContentIdentifier → String?
final
threadIdentifier → String?
final
title → String?
final
userInfo → Map<String, dynamic>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toJsonString() → String
toString() → String
A string representation of this object.
inherited

Operators

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