ResourceIdentifiers.fromFile constructor

ResourceIdentifiers.fromFile(
  1. String path
)

Read resources from a resources.json file

Implementation

factory ResourceIdentifiers.fromFile(String path) =>
    ResourceIdentifiers.fromFileContents(File(path).readAsStringSync());