build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$V0AddOnAppResponseItemModel build() {
_$V0AddOnAppResponseItemModel _$result;
try {
_$result = _$v ??
new _$V0AddOnAppResponseItemModel._(
icon: _icon?.build(),
plan: _plan?.build(),
planStartedAt: planStartedAt,
slug: slug,
title: title);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'icon';
_icon?.build();
_$failedField = 'plan';
_plan?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'V0AddOnAppResponseItemModel', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}