ResourceName constructor
Implementation
factory ResourceName({
$core.String? namespace,
$core.String? type,
$core.String? subtype,
$core.String? name,
$core.Iterable<$core.String>? remotePath,
$core.String? localName,
}) {
final $result = create();
if (namespace != null) {
$result.namespace = namespace;
}
if (type != null) {
$result.type = type;
}
if (subtype != null) {
$result.subtype = subtype;
}
if (name != null) {
$result.name = name;
}
if (remotePath != null) {
$result.remotePath.addAll(remotePath);
}
if (localName != null) {
$result.localName = localName;
}
return $result;
}