fromListJson static method

List<Block> fromListJson(
  1. List json
)

Map a list of blocks from a json list with dynamics.

Implementation

static List<Block> fromListJson(List<dynamic> json) =>
    List<Block>.from(json.map((e) => Block.fromJson(e)).toList());