open static method

Future<bool> open(
  1. String pathOrUri, {
  2. String? mimeType,
})

Opens a file (path or content URI) with the default app.

Implementation

static Future<bool> open(String pathOrUri, {String? mimeType}) async =>
    await _call<bool>("open", <String, Object?>{"path": pathOrUri, "mimeType": mimeType}) ?? false;