toMap method

Map<String, Map<String, dynamic>> toMap()

Implementation

Map<String, Map<String, dynamic>> toMap() {
  return Map.fromEntries(_operations.entries
      .map((entry) => MapEntry(entry.key.value, entry.value.build())));
}