toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() {
  return {for (var e in fields) e.id: e.value};
}