Presentation.fromJson constructor

Presentation.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Presentation.fromJson(Map<String, Object?> json) => Presentation(
      buyPage: json["buy_page"] == null
          ? null
          : BuyPagePresentation.fromJson(
              (json["buy_page"] as Map).cast<String, Object?>(),
            ),
    );