build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$ShowStoryBoxOptions build() {
_$ShowStoryBoxOptions _$result;
try {
_$result = _$v ??
new _$ShowStoryBoxOptions._(
backgroundType: BuiltValueNullFieldError.checkNotNull(
backgroundType, 'ShowStoryBoxOptions', 'backgroundType'),
url: url,
blob: blob,
attachment: _attachment?.build(),
locked: BuiltValueNullFieldError.checkNotNull(
locked, 'ShowStoryBoxOptions', 'locked'),
stickers: _stickers?.build());
} catch (_) {
late String _$failedField;
try {
_$failedField = 'attachment';
_attachment?.build();
_$failedField = 'stickers';
_stickers?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'ShowStoryBoxOptions', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}