build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$ResourceLink build() {
_$ResourceLink _$result;
try {
_$result = _$v ??
new _$ResourceLink._(
id: id,
name: name,
description: description,
type: type,
owner: owner,
classId: classId,
links: _links?.build(),
recycle: recycle);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'links';
_links?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'ResourceLink', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}