SiteCompanionSetting class

Companion Settings

Constructors

SiteCompanionSetting({bool? companionsDisabled, List<Size>? enabledSizes, bool? imageOnly, String? kind})
SiteCompanionSetting.fromJson(Map json_)

Properties

companionsDisabled bool?
Whether companions are disabled for this site template.
getter/setter pair
enabledSizes List<Size>?
Allowlist of companion sizes to be served via this site template.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageOnly bool?
Whether to serve only static images as companions.
getter/setter pair
kind String?
Identifies what kind of resource this is.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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