FlintError constructor

FlintError(
  1. String message, {
  2. int? statusCode,
  3. dynamic originalException,
  4. Uri? url,
  5. String? method,
  6. DateTime? timestamp,
})

Creates a new FlintError with the given message.

Implementation

FlintError(
  this.message, {
  this.statusCode,
  this.originalException,
  this.url,
  this.method,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();