EmbeddedSubscribtion.fromJson constructor

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

Implementation

factory EmbeddedSubscribtion.fromJson(Map<String, dynamic> json) =>
    EmbeddedSubscribtion(
      title: json["title"] == null ? null : json["title"],
      subscriptions: List<Subscription>.from(
          json["subscriptions"].map((x) => Subscription.fromJson(x))),
      recommended: json["recommended"] == null ? null : json["recommended"],
    );