setPushToken method
- String? token
Device push token → the platform's reserved attribute ($apnsTokens
on iOS, $fcmTokens on Android — the native layer picks the right
key). Same buffered-write, background-flush contract as
setAttributes; null clears it.
Implementation
Future<void> setPushToken(String? token) => _platform.setPushToken(token);