Error constructor

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

Implementation

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