jsonPath property

String get jsonPath

Implementation

String get jsonPath {
  if (_jsonPath.isEmpty) {
    var codeSample =
        'gen_cli generate model jsonPath assets/models/user.json';
    throw CliException('%s 不是个有效的json文件'.trArgs(['']),
        codeSample: codeSample);
  }
  return _jsonPath;
}