build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$IOSTheme build() {
_$IOSTheme _$result;
try {
_$result = _$v ??
new _$IOSTheme._(
font: _font?.build(),
backgroundColor: _backgroundColor?.build(),
foregroundColor: _foregroundColor?.build(),
textColor: _textColor?.build(),
placeholderTextColor: _placeholderTextColor?.build(),
tintColor: _tintColor?.build(),
messageColor: _messageColor?.build(),
errorColor: _errorColor?.build(),
saveButtonTitle: saveButtonTitle,
saveButtonFont: _saveButtonFont?.build(),
saveButtonTextColor: _saveButtonTextColor?.build(),
keyboardAppearance: keyboardAppearance);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'font';
_font?.build();
_$failedField = 'backgroundColor';
_backgroundColor?.build();
_$failedField = 'foregroundColor';
_foregroundColor?.build();
_$failedField = 'textColor';
_textColor?.build();
_$failedField = 'placeholderTextColor';
_placeholderTextColor?.build();
_$failedField = 'tintColor';
_tintColor?.build();
_$failedField = 'messageColor';
_messageColor?.build();
_$failedField = 'errorColor';
_errorColor?.build();
_$failedField = 'saveButtonFont';
_saveButtonFont?.build();
_$failedField = 'saveButtonTextColor';
_saveButtonTextColor?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'IOSTheme', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}