DeletedSubscriptionItem.fromJson constructor

DeletedSubscriptionItem.fromJson(
  1. Object? json
)

Implementation

factory DeletedSubscriptionItem.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return DeletedSubscriptionItem(id: (map['id'] as String));
}