Error constructor

Error({
  1. required String message,
  2. required int code,
})

Implementation

Error({required this.message, required this.code});