getCategoryById abstract method

Category? getCategoryById(
  1. int id
)

@brief Method is used for obtaining a category with the specified identifier from the current location. @param id category identifier. @return @see Category "Category" of the current location with the specified identifier, if it exists. If category with the specified identifier doesn't exist, function returns null.

Dart code snippet: @snippet location_manager_example.dart dart_Location_getCategoryById

Implementation

Category? getCategoryById(int id);