Channel class

Annotations
  • @JsonSerializable.new(fieldRename: FieldRename.snake, explicitToJson: true, includeIfNull: false)

Constructors

Channel({required String id, required ChannelType type, String? name, String? parentId, int? position})
Channel.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
Channel ID
getter/setter pair
name ↔ String?
Channel Name
getter/setter pair
parentId ↔ String?
Channel Parent ID
getter/setter pair
position ↔ int?
Position inside the parent category
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ ChannelType
Channel Type
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Instance method to convert the Channel instance to JSON
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited