Input class Null safety

An input

Inheritance
Annotations

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
@JsonKey(name: 'channel'), final
filePath String?
The filepath
@JsonKey(name: 'filepath'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The input id
@JsonKey(name: 'id', fromJson: _idFromJson), final
previewFilePath String?
The preview file path
@JsonKey(name: 'previewfilepath'), final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
published int
The published
@JsonKey(name: 'published'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sampler Sampler
The sampler
@JsonKey(name: 'sampler'), final
src String?
The source
@JsonKey(name: 'src'), final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited
type InputType?
Returns either the type1 value or the type2 value
@JsonKey(ignore: true), read-only
type1 InputType?
The input type with 'type' source
@JsonKey(name: 'type'), final
type2 InputType?
The input type with 'ctype' source
@JsonKey(name: 'ctype'), 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 non-existent 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