fetchDevice method
Implementation
Future<NotificareDevice> fetchDevice() async {
final json =
await _methodChannel.invokeMapMethod<String, dynamic>('fetchDevice');
return NotificareDevice.fromJson(json!);
}
Future<NotificareDevice> fetchDevice() async {
final json =
await _methodChannel.invokeMapMethod<String, dynamic>('fetchDevice');
return NotificareDevice.fromJson(json!);
}