toJson method
Implementation
Map<String, dynamic> toJson() => {
'owner': stakeAddress.toString(),
'registrationTimestamp': registrationTimestamp,
'isRevocable': isRevocable,
'revokeCooldown': revokeCooldown,
'active': active
};