toPointer method
Implementation
@override
void toPointer(Pointer<SdlNotificationAction> pointer) {
pointer.ref.button.type = type;
if (actionId.isNotEmpty) {
pointer.ref.button.actionId = actionId.toNativeUtf8();
}
if (actionLabel.isNotEmpty) {
pointer.ref.button.actionLabel = actionLabel.toNativeUtf8();
}
}