ResourceKindFlag class final

A resource kind, as a bit in a set.

See mln_resource_kind_flag in the C API reference.

Constructors

ResourceKindFlag.fromRawValue(int rawValue)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
rawValue → int
The value's C representation, which may be one this binding predates.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

contains(ResourceKindFlag other) → bool
Whether every bit of other is set in this value.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator &(ResourceKindFlag other) → ResourceKindFlag
inherited
operator ==(Object other) → bool
The equality operator.
inherited
operator |(ResourceKindFlag other) → ResourceKindFlag
inherited

Constants

all → const ResourceKindFlag
glyphs → const ResourceKindFlag
image → const ResourceKindFlag
none → const ResourceKindFlag
No flags.
source → const ResourceKindFlag
spriteImage → const ResourceKindFlag
spriteJson → const ResourceKindFlag
style → const ResourceKindFlag
tile → const ResourceKindFlag
unknown → const ResourceKindFlag