hasCustomPrefix static method

bool hasCustomPrefix(
  1. String key
)

Whether or not a key starts with the custom prefix that is required by Cognito for custom attributes.

Implementation

static bool hasCustomPrefix(String key) => key.startsWith(_customPrefix);