DatabaseException.custom constructor

const DatabaseException.custom(
  1. {Document document,
  2. @required int code,
  3. @required String name,
  4. String message,
  5. Object error}
)

Implementation

const DatabaseException.custom({
  this.document,
  @required this.code,
  @required this.name,
  this.message,
  this.error,
});