write method

  1. @override
Future<Map?> write(
  1. String deviceId,
  2. String service,
  3. String characteristic,
  4. String value,
  5. int timeout,
)
override

Implementation

@override
Future<Map<dynamic, dynamic>?> write(String deviceId, String service,
    String characteristic, String value, int timeout) async {
  return _methodChannel.invokeMethod<Map<dynamic, dynamic>?>('write', {
    'deviceId': deviceId,
    'service': service,
    'characteristic': characteristic,
    'value': value,
    'timeout': timeout,
  });
}