OnlineRestrictions enum Core

Represents online restrictions using bitwise flags.

Inheritance
Available extensions

Values

none → const OnlineRestrictions

No restrictions (fully available)

connection → const OnlineRestrictions

No internet connection

networkType → const OnlineRestrictions

Restricted by network type (e.g., mobile network restrictions)

rateLimit → const OnlineRestrictions

Restricted due to rate limiting (too many requests)

outdated → const OnlineRestrictions

Restricted due to outdated service version

authorization → const OnlineRestrictions

Restricted due to authorization issues (e.g., no access rights)

Properties

hashCode int
The hash code for this object.
no setterinherited
id int

Available on OnlineRestrictions, provided by the OnlineRestrictionsExtension extension

no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<OnlineRestrictions>
A constant List of the values in this enum, in order of their declaration.