parseTextInputComponent method
Implementation
@Deprecated('Use parseSubmittedTextInputComponent instead.')
TextInputComponent parseTextInputComponent(Map<String, Object?> raw) {
return TextInputComponent(
id: raw['id'] as int,
customId: raw['custom_id'] as String,
style: maybeParse(raw['style'], TextInputStyle.new),
label: raw['label'] as String?,
minLength: raw['min_length'] as int?,
maxLength: raw['max_length'] as int?,
isRequired: raw['required'] as bool?,
value: raw['value'] as String?,
placeholder: raw['placeholder'] as String?,
);
}