readBlocksFromPath static method

List<RawBlockExtrinsics> readBlocksFromPath(
  1. String filePath
)

Implementation

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