Subscriber.fromJson constructor

Subscriber.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Subscriber.fromJson(Map<String, dynamic> json) {
  return Subscriber(
    address: json['Address'] as String?,
    status: (json['Status'] as String?)?.toSubscriberStatus(),
    type: (json['Type'] as String?)?.toSubscriberType(),
  );
}