Credential constructor

Credential({
  1. required String id,
  2. required String password,
})

Implementation

factory Credential({
  required String id,
  required String password,
}) =>
    Credential._toJS(
      id: id.toJS,
      password: password.toJS,
    );