auth method

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

Authenticate the model.

Implementation

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