compoundToMap method

Map<String, dynamic> compoundToMap()

Returns only the compound config groups as a Map suitable for marshalling.

Implementation

Map<String, dynamic> compoundToMap() {
  return <String, dynamic>{
    if (geolocation != null) 'geolocation': geolocation!.toMap(),
    if (app != null) 'app': app!.toMap(),
    if (http != null) 'http': http!.toMap(),
    if (activity != null) 'activity': activity!.toMap(),
    if (persistence != null) 'persistence': persistence!.toMap(),
    if (logger != null) 'logger': logger!.toMap(),
  };
}