AssetLabel constructor

AssetLabel({
  1. LabelType? labelType,
  2. AssetLabel_Empty? empty,
  3. AssetLabel_V1Label? v1Label,
  4. AssetLabel_Tam2Label? tam2Label,
})

Implementation

factory AssetLabel({
  LabelType? labelType,
  AssetLabel_Empty? empty,
  AssetLabel_V1Label? v1Label,
  AssetLabel_Tam2Label? tam2Label,
}) {
  final _result = create();
  if (labelType != null) {
    _result.labelType = labelType;
  }
  if (empty != null) {
    _result.empty = empty;
  }
  if (v1Label != null) {
    _result.v1Label = v1Label;
  }
  if (tam2Label != null) {
    _result.tam2Label = tam2Label;
  }
  return _result;
}