Module constructor

Module({
  1. String? path,
  2. String? version,
  3. String? sum,
})

Implementation

factory Module({
  $core.String? path,
  $core.String? version,
  $core.String? sum,
}) {
  final _result = create();
  if (path != null) {
    _result.path = path;
  }
  if (version != null) {
    _result.version = version;
  }
  if (sum != null) {
    _result.sum = sum;
  }
  return _result;
}