Value constructor

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

Implementation

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