transport property

Future<NotificareTransport?> get transport

Provides the current push transport information.

Returns the NotificareTransport assigned to the device.

Implementation

static Future<NotificareTransport?> get transport async {
  final json = await _channel.invokeMethod('getTransport');
  return json != null ? NotificareTransport.fromJson(json) : null;
}