collapse method

Future<void> collapse({
  1. bool animated = true,
})

Collapses the floating island back to compact mode.

Implementation

Future<void> collapse({bool animated = true}) async {
  final channel = _channel;
  if (channel == null) return;
  await channel.invokeMethod('collapse', {'animated': animated});
}