handlePlatformMessage method Null safety
- @Deprecated('Use handleFrameworkMessage instead. ' 'This feature was deprecated after v1.24.0-7.0.pre.')
- @override
- String channel,
- ByteData? data,
- PlatformMessageResponseCallback? callback
Deprecated('Use handleFrameworkMessage instead. ' 'This feature was deprecated after v1.24.0-7.0.pre.')">@Deprecated('Use handleFrameworkMessage instead. ' 'This feature was deprecated after v1.24.0-7.0.pre.')override
Receives a platform message from the framework.
This method has been replaced with the more clearly-named handleFrameworkMessage.
Implementation
@Deprecated(
'Use handleFrameworkMessage instead. '
'This feature was deprecated after v1.24.0-7.0.pre.'
)
@override
Future<void> handlePlatformMessage(
String channel,
ByteData? data,
ui.PlatformMessageResponseCallback? callback,
) => handleFrameworkMessage(channel, data, callback);