has method

bool has(
  1. String id
)

Check if a toast style with id exists.

Implementation

bool has(String id) => _styles.containsKey(id);