getById static method

BaseThemeConfig? getById(
  1. String id
)

Get a theme by its ID.

Returns null if no theme with the given ID is found.

Implementation

static BaseThemeConfig? getById(String id) {
  return NyThemeManager.instance.getThemeById(id);
}