serialize method

  1. @override
Map<String, dynamic> serialize()
override

Serializes the object to a map.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "stakeAccount": {
      name: {
        "meta": meta?.serialize(),
        "stake": stake?.serialize(),
        "stakeFlags": stakeFlags
      }
    }
  };
}