setCustomData method
Sets fields in the root of the notification format (excluding aps
).
val
: A dictionary to be used for fields in the root of the notification format (excludingaps
), or nil to clear them.
Implementation
ApnsMpnBuilder setCustomData(Map<String, dynamic>? val) {
_customData = val == null ? null : Map.from(val);
return this;
}