close method

  1. @override
Future close(
  1. dynamic device
)
override

Returns a Future that resolves when all open interfaces are released and the device session has ended.

Implementation

@override
Future close(dynamic device) {
  return methodChannel
      .invokeMethod<bool>('close', device)
      .then<void>((dynamic result) => result);
}