toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final address = this.address;
  final subscriptionType = this.subscriptionType;
  return {
    'Address': address,
    'SubscriptionType': subscriptionType.toValue(),
  };
}