ILP.fromFileSync constructor

ILP.fromFileSync(
  1. String path
)

Implementation

factory ILP.fromFileSync(String path) {
  final file = File(path);
  if (!file.existsSync()) {
    throw ILPConfigException(message: 'ilp_file_not_exists', file: path);
  }
  return ILP._(_ILPFile(file));
}