ErrorMessage constructor

const ErrorMessage(
  1. String message, {
  2. Key? key,
})

Implementation

const ErrorMessage(this.message, {Key? key}) : super(key: key);