listOfListsFromJsonArray static method
Creates a list of list of object from a json array
Implementation
static List<List<KeyboardButton>> listOfListsFromJsonArray(
List<List<dynamic>> json) {
return List.generate(
json.length,
(e) => List.generate(
json[e].length,
(i) => KeyboardButton.fromJson(json[e][i]),
),
);
}