encodeBoxes method

List<Map<String, dynamic>> encodeBoxes(
  1. List<TokenBox> boxes
)

Implementation

List<Map<String, dynamic>> encodeBoxes(List<TokenBox> boxes) {
  return boxes.map((box) => box.toJson()).toList();
}