Flag class

A flag resource.

Constructors

Flag({List<String>? allowedIntValues, List<String>? allowedStringValues, List<String>? appliesTo, bool? inBeta, String? kind, String? maxValue, String? minValue, String? name, bool? requiresRestart, String? type})
Flag.fromJson(Map json_)

Properties

allowedIntValues List<String>?
Use this field if only certain integers are accepted.
getter/setter pair
allowedStringValues List<String>?
For STRING flags, a list of strings that the value can be set to.
getter/setter pair
appliesTo List<String>?
The database version this flag applies to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inBeta bool?
Whether or not the flag is considered in beta.
getter/setter pair
kind String?
This is always sql#flag.
getter/setter pair
maxValue String?
For INTEGER flags, the maximum allowed value.
getter/setter pair
minValue String?
For INTEGER flags, the minimum allowed value.
getter/setter pair
name String?
This is the name of the flag.
getter/setter pair
requiresRestart bool?
Indicates whether changing this flag will trigger a database restart.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of the flag.
getter/setter pair

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