getPresetsMap method

Future<Map<String, Preset>> getPresetsMap(
  1. String profileToken
)

Helper method

Implementation

Future<Map<String, Preset>> getPresetsMap(String profileToken) async {
  loggy.debug('getPresetsMap');

  return {
    for (var preset in await getPresets(profileToken)) preset.token: preset
  };
}