serialize method
Serializes the object to a map.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"stakeAccount": {
name: {
"meta": meta?.serialize(),
"stake": stake?.serialize(),
"stakeFlags": stakeFlags
}
}
};
}