fromJson static method

HometownList fromJson(
  1. dynamic wrapped
)
override

Implementation

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