Resource class
Information about a resource.
Constructors
- Resource({required String id, required String name, required ResourceDataContainer resourceDataContainer})
-
Resource.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The resource ID, used to refer to a resource in the Lambda function
configuration. Max length is 128 characters with pattern
''
a-zA-Z0-9:_-
+''. This must be unique within a Greengrass group.final - name → String
-
The descriptive resource name, which is displayed on the AWS IoT Greengrass
console. Max length 128 characters with pattern ''
a-zA-Z0-9:_-
+''. This must be unique within a Greengrass group.final - resourceDataContainer → ResourceDataContainer
-
A container of data for all resource types.
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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited