readEventsFromPath static method

List<RawBlockEvents> readEventsFromPath(
  1. String filePath
)

Implementation

static List<RawBlockEvents> readEventsFromPath(String filePath) {
  return readLines(filePath)
      .map((dynamic map) => RawBlockEvents.fromJson(map))
      .toList(growable: false);
}