listFromJsonArray static method

List<Sticker> listFromJsonArray(
  1. List json
)

Creates a list of object from a json array

Implementation

static List<Sticker> listFromJsonArray(List<dynamic> json) {
  return List.generate(json.length, (i) => Sticker.fromJson(json[i]));
}