setChooseFileMode static method

Future<void> setChooseFileMode(
  1. ChooseFileMode mode
)

Implementation

static Future<void> setChooseFileMode(ChooseFileMode mode) async {
  if (defaultTargetPlatform == TargetPlatform.android) {
    await _channel.invokeMethod('setChooseFileMode', {
      'mode': mode.index,
    });
  }
}