Value constructor

Value({
  1. Value_LVL? lvl,
  2. Value_TOPL? topl,
  3. Value_Asset? asset,
})

Implementation

factory Value({
  Value_LVL? lvl,
  Value_TOPL? topl,
  Value_Asset? asset,
}) {
  final _result = create();
  if (lvl != null) {
    _result.lvl = lvl;
  }
  if (topl != null) {
    _result.topl = topl;
  }
  if (asset != null) {
    _result.asset = asset;
  }
  return _result;
}