findById static method

InstallFeature? findById(
  1. String id
)

Find feature by ID

Implementation

static InstallFeature? findById(String id) {
  for (final feature in all) {
    if (feature.id == id) {
      return feature;
    }
  }
  return null;
}