Metadata constructor
Metadata({})
Implementation
factory Metadata({
$core.String? description,
$core.Iterable<DenomUnit>? denomUnits,
$core.String? base,
$core.String? display,
$core.String? name,
$core.String? symbol,
}) {
final _result = create();
if (description != null) {
_result.description = description;
}
if (denomUnits != null) {
_result.denomUnits.addAll(denomUnits);
}
if (base != null) {
_result.base = base;
}
if (display != null) {
_result.display = display;
}
if (name != null) {
_result.name = name;
}
if (symbol != null) {
_result.symbol = symbol;
}
return _result;
}