copyWith method
Implementation
Permission copyWith({
PermissionType? type,
int? id,
String? permissionName,
BigInt? threshold,
int? parentId,
List<int>? operations,
List<TronKey>? keys,
}) {
return Permission(
type: type ?? this.type,
id: id ?? this.id,
permissionName: permissionName ?? this.permissionName,
threshold: threshold ?? this.threshold,
parentId: parentId ?? this.parentId,
operations: operations ?? this.operations,
keys: keys ?? this.keys,
);
}