fromJson static method

Gift fromJson(
  1. dynamic wrapped
)
override

Implementation

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