listFromJson static method

List<AccountSummaryModel> listFromJson(
  1. dynamic json
)

Implementation

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