Future<Map<dynamic, dynamic>?> write(String deviceId, String service, String characteristic, String value, int timeout) { throw UnimplementedError('write() has not been implemented.'); }