Error constructor

const Error({
  1. required String error,
})

Implementation

const factory Error({
  required String error,
}) = _Error;