openDocument static method Null safety

Future<void> openDocument(
  1. {required String filePath}
)

Open the document by the indicated path filePath,

Implementation

static Future<void> openDocument({required String filePath}) async {
  return await OpenDocumentPlatform.instance.openDocument(filePath: filePath);
}