getManifestJsonFromFile function

String? getManifestJsonFromFile(
  1. String path
)

Get the manifest from a file

Implementation

// ignore: type_annotate_public_apis
String? getManifestJsonFromFile(final String path) {
  // File
  final file = File(path);

  // Get manifest
  return getFileManifest(fileBytes: file.readAsBytesSync(), path: file.path);
}