$Color class

Used by:

  • airquality:v1 : Color
  • chat:v1 : Color
  • contentwarehouse:v1 : GoogleTypeColor
  • documentai:v1 : GoogleTypeColor
  • drivelabels:v2 : GoogleTypeColor
  • fcm:v1 : Color
  • pollen:v1 : Color
  • sheets:v4 : Color
  • vision:v1 : Color

Constructors

$Color({double? alpha, double? blue, double? green, double? red})
$Color.fromJson(Map json_)

Properties

alpha double?
The fraction of this color that should be applied to the pixel.
getter/setter pair
blue double?
The amount of blue in the color as a value in the interval [0, 1].
getter/setter pair
green double?
The amount of green in the color as a value in the interval [0, 1].
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
red double?
The amount of red in the color as a value in the interval [0, 1].
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