build method
Produces the JSON structure for the push notification format specified by this object.
Implementation
Future<String> build() async {
var arguments = <String, dynamic>{
'alert': _alert,
'badge': _badge,
'body': _body,
'bodyLocArguments': _bodyLocArguments,
'bodyLocKey': _bodyLocKey,
'category': _category,
'contentAvailable': _contentAvailable,
'mutableContent': _mutableContent,
'customData': _customData,
'launchImage': _launchImage,
'locActionKey': _locActionKey,
'sound': _sound,
'threadId': _threadId,
'title': _title,
'subtitle': _subtitle,
'titleLocArguments': _titleLocArguments,
'titleLocKey': _titleLocKey,
'notificationFormat': _notificationFormat,
};
return await NativeBridge.instance.invokeMethod('ApnsMpnBuilder.build', arguments);
}