Permission class
- Inheritance
- 
    - Object
- TronProtocolBufferImpl
- Permission
 
Constructors
- 
          Permission({PermissionType? type, int? id, String? permissionName, BigInt? threshold, int? parentId, List<int> ? operations, List<TronKey> ? keys})
- Factory method to create a new Permission instance with specified parameters.
- 
          Permission.deserialize(List<int> bytes)
- 
          
            factory
- 
          Permission.fromJson(Map<String, dynamic> json)
- 
          Create a new Permission instance by parsing a JSON map.
            factory
Properties
- 
  fieldIds
  → List<int> 
- 
  List of field IDs corresponding to the values.
  no setteroverride
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → int?
- 
  
  final
- 
  keys
  → List<TronKey> ?
- 
  
  final
- 
  operations
  → List<int> ?
- 
  
  final
- parentId → int?
- 
  
  final
- permissionName → String?
- 
  
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- threshold → BigInt?
- 
  
  final
- toHex → String
- 
  Gets the hexadecimal representation of the protocol buffer data.
  no setterinherited
- type → PermissionType?
- 
  
  final
- values → List
- 
  List of dynamic values to be encoded.
  no setteroverride
Methods
- 
  copyWith({PermissionType? type, int? id, String? permissionName, BigInt? threshold, int? parentId, List< int> ? operations, List<TronKey> ? keys}) → Permission
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toBuffer() → List< int> 
- 
  Converts the protocol buffer data to a byte buffer.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  Convert the Permission object to a JSON representation.
  override
- 
  toString() → String 
- 
  Convert the Permission object to its string representation.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited