Method enum

Inheritance
Available extensions
Annotations
  • @_NameSource('generated')

Values

crop → const Method
const Method('crop')
scale → const Method
const Method('scale')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isCrop bool

Available on Method, provided by the MethodEnhancedEnum extension

no setter
isScale bool

Available on Method, provided by the MethodEnhancedEnum extension

no setter
name String
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
name String

Available on Method, provided by the MethodEnhancedEnum extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

maybeWhen<T>({T? crop()?, T? scale()?, required T orElse()}) → T

Available on Method, provided by the MethodEnhancedEnum extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<T>({required T crop(), required T scale()}) → T

Available on Method, provided by the MethodEnhancedEnum extension

Operators

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

Constants

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