SiteCompanionSetting class Null safety
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.
read / write
-
enabledSizes
↔ List<
Size> ? -
Allowlist of companion sizes to be served via this site template.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- imageOnly ↔ bool?
-
Whether to serve only static images as companions.
read / write
- kind ↔ String?
-
Identifies what kind of resource this is.
read / write
- 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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited