toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'xpub': xpub,
    'role': role,
    'index': index,
    'address': address,
  };
}