toJson method

Map<String, String> toJson()

Implementation

Map<String, String> toJson() {
  return {for (var item in items) item.key: item.value};
}