hasCast method

bool hasCast(
  1. String key
)

Determine if an attribute has a cast.

Implementation

bool hasCast(String key) => casts.containsKey(key);