EntertainmentConfigurationChannel class
An entertainment configuration's channel.
Constructors
-
EntertainmentConfigurationChannel({required int channelId, required EntertainmentConfigurationPosition position, required List<
EntertainmentConfigurationChannelMember> members}) - Creates a EntertainmentConfigurationChannel object.
- EntertainmentConfigurationChannel.empty()
- Creates an empty EntertainmentConfigurationChannel object.
-
EntertainmentConfigurationChannel.fromJson(Map<
String, dynamic> dataMap) -
Creates a EntertainmentConfigurationChannel object from the JSON
response to a GET request.
factory
Properties
- channelId → int
-
Bridge assigns a number upon creation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
members
→ List<
EntertainmentConfigurationChannelMember> -
List that references segments that are members of this channel.
final
- position → EntertainmentConfigurationPosition
-
xyz position of this channel. It is the average position of its members.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? channelId, EntertainmentConfigurationPosition? position, List< EntertainmentConfigurationChannelMember> ? members, bool copyOriginalValues = true}) → EntertainmentConfigurationChannel - Returns a copy of this object with its field values replaced by the ones provided to this method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{OptimizeFor optimizeFor = OptimizeFor.put}) → Map< String, dynamic> - Converts this object into JSON format.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override