InvalidTimeDataError constructor

InvalidTimeDataError(
  1. String message, [
  2. Error? error
])

Creates an instance with the given message.

message: The message for the exception.

Implementation

InvalidTimeDataError(this.message, [this.error]);