AndroidResource class

Uniquely identifies an Android resource.

Constructors

AndroidResource({required String name, String defType = 'drawable'})
Uniquely identifies an Android resource.
const

Properties

defType → String
Optional default resource type to find, if "type/" is not included in the name.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the desired resource.
final
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>
Returns a JSON representation of this class.
toString() → String
A string representation of this object.
inherited

Operators

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