build method
Produces the JSON structure for the push notification format specified by this object.
Returns the JSON structure for the push notification format.
Implementation
Future<String> build() async {
var arguments = <String, dynamic>{
'collapseKey': _collapseKey,
'priority': _priority,
'timeToLive': _timeToLive,
'title': _title,
'titleLocKey': _titleLocKey,
'titleLocArguments': _titleLocArguments,
'body': _body,
'bodyLocKey': _bodyLocKey,
'bodyLocArguments': _bodyLocArguments,
'icon': _icon,
'sound': _sound,
'tag': _tag,
'color': _color,
'clickAction': _clickAction,
'data': _data,
'notificationFormat': _notificationFormat,
};
return await NativeBridge.instance.invokeMethod('FirebaseMpnBuilder.build', arguments);
}