Input class
An input
- Annotations
-
- @JsonSerializable()
Constructors
- Input({required String id, String? src, String? filePath, String? previewFilePath, InputType? type, InputType? type1, InputType? type2, required int channel, required Sampler sampler, required int published})
-
Builds a Input
const
-
Input.fromJson(Map<
String, dynamic> json) -
Creates a Input from json map
factory
Properties
- channel → int
-
The channel number
final
- filePath → String?
-
The filepath
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The input id
final
- previewFilePath → String?
-
The preview file path
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- published → int
-
The published
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampler → Sampler
-
The sampler
final
- src → String?
-
The source
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - type → InputType?
-
Returns either the type1 value or the type2 value
no setter
- type1 → InputType?
-
The input type with 'type' source
final
- type2 → InputType?
-
The input type with 'ctype' source
final
Methods
-
copyWith(
{String? id, String? src, String? filePath, String? previewFilePath, InputType? type, InputType? type1, InputType? type2, int? channel, Sampler? sampler, int? published}) → Input - Builds a copy of a Input
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Creates a json map from a Input
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited