RightsInfo class Null safety

Annotations

Constructors

RightsInfo({@JsonKey(name: 'hasInteractive') required bool hasInteractive, @JsonKey(name: 'hasOffline') required bool hasOffline, @JsonKey(name: 'hasNonInteractive') required bool hasNonInteractive, @JsonKey(name: 'hasStatutory') required bool hasStatutory, @JsonKey(name: 'hasRadioRights') required bool hasRadioRights, @JsonKey(name: 'expirationTime', fromJson: readMilliseconds, toJson: writeMilliseconds) required Duration expiresIn})
const
factory
RightsInfo.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $RightsInfoCopyWith<RightsInfo>
read-onlyinherited
expiresIn Duration
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
hasInteractive bool
read-onlyinherited
hasNonInteractive bool
read-onlyinherited
hasOffline bool
read-onlyinherited
hasRadioRights bool
read-onlyinherited
hasStatutory bool
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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