toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "executable": executable,
    "lamports": lamports.toString(),
    "owner": owner.address,
    "rentEpoch": rentEpoch,
    "space": space,
    "data": data
  };
}