LogCategory.fromString constructor

LogCategory.fromString(
  1. String category
)

Returns the LogCategory for the given category string. Will throw if the category is not recognized.

Implementation

factory LogCategory.fromString(String category) => _map[category]!;