fromJson static method

GiftList fromJson(
  1. dynamic wrapped
)
override

Implementation

static GiftList fromJson(wrapped) => wrapped is GiftList
    ? wrapped
    : GiftList(wrapped as Map<String, dynamic>, update: true);