sendDisplayContent static method
Implementation
static Future<void> sendDisplayContent(String displayId, String title, String body) async {
try {
await _channel.invokeMethod<void>('sendDisplayContent', {
'displayId': displayId,
'title': title,
'body': body,
});
} on PlatformException catch (e) {
throw WearablesError(
code: e.code,
description: e.message ?? 'Send display content failed',
);
}
}