ResourceInfo class Null safety
Describes a resource referenced in the request.
Constructors
- ResourceInfo({String? container, String? location, String? name, String? permission, String? type})
- ResourceInfo.fromJson(Map json_)
Properties
- container ↔ String?
-
The identifier of the container of this resource.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- location ↔ String?
-
The location of the resource.
read / write
- name ↔ String?
-
The name of the resource referenced in the request.
read / write
- permission ↔ String?
-
The resource permission needed for this request.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type ↔ String?
-
The resource type in the format of "{service}/{kind}".
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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