copyWith method
AccountPermissionUpdateContract
copyWith({
- TronAddress? ownerAddress,
- Permission? owner,
- Permission? witness,
- List<
Permission> ? actives,
Create a new AccountPermissionUpdateContract instance by copying the existing one and replacing specified fields with new values.
Implementation
AccountPermissionUpdateContract copyWith({
TronAddress? ownerAddress,
Permission? owner,
Permission? witness,
List<Permission>? actives,
}) {
return AccountPermissionUpdateContract(
ownerAddress: ownerAddress ?? this.ownerAddress,
owner: owner ?? this.owner,
witness: witness ?? this.witness,
actives: actives ?? this.actives,
);
}