fromJSONArray static method

List<Acquisition> fromJSONArray(
  1. List? json
)

Creates a list of Acquisition from its JSON representation. If an acquisition can't be parsed, a warning will be logged with warnings.

Implementation

static List<Acquisition> fromJSONArray(List<dynamic>? json) =>
    json?.parseObjects(
        (it) => Acquisition.fromJSON(it as Map<String, dynamic>?)) ??
    [];