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