InputPageBlockListItem class
Describes an item of a list page block to be sent
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
-
InputPageBlockListItem({required List<
InputPageBlock> blocks, required bool hasCheckbox, required bool isChecked, required int value, required String type}) -
const
Properties
-
blocks
→ List<
InputPageBlock> -
blocks Item blocks
final
- hasCheckbox → bool
-
hasCheckbox True, if the item has a checkbox
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isChecked → bool
-
isChecked True, if the item is checked
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
type Type of item numbering; pass "a" for lowercase letters, "A" for
uppercase letters, "i" for lowercase Roman numerals, "I" for uppercase
Roman numerals, "1" for decimal numbers, or an empty string for unordered
lists
final
- value → int
-
value Value of the item; pass 0 for unordered lists
final
Methods
-
copyWith(
{List< InputPageBlock> ? blocks, bool? hasCheckbox, bool? isChecked, int? value, String? type}) → InputPageBlockListItem -
Available on InputPageBlockListItem, provided by the InputPageBlockListItemExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → InputPageBlockListItem?
Constants
- constructor → const String