listFromJson static method

List<AccountDetailsModel> listFromJson(
  1. dynamic json
)

Implementation

static List<AccountDetailsModel> listFromJson(dynamic json) =>
    json is List && json.isNotEmpty
        ? json.map(AccountDetailsModel.fromJson).toList()
        : <AccountDetailsModel>[];