build method

  1. @override
RawApiMap build()

Returns built response for api

Implementation

@override
RawApiMap build() => {
      ...super.build(),
      "style": style.value,
      "custom_id": customId,
      "label": label,
      "placeholder": placeholder,
      "value": value,
      "required": required,
      "min_length": minLength,
      "max_length": maxLength,
    };