byId static method

ProviderPreset? byId(
  1. String? id
)

Implementation

static ProviderPreset? byId(String? id) =>
    all.where((preset) => preset.id == id).firstOrNull;