auth method

Future<void> auth({
  1. String? key,
})
inherited

Authenticate the model.

Implementation

Future<void> auth({String? key}) async {
  await Auth.set(this, key: key);
}