Error constructor

Error(
  1. int requestTypeId,
  2. int requestId,
  3. Map<String, dynamic> details,
  4. String? error, {
  5. List? arguments,
  6. Map<String, dynamic>? argumentsKeywords,
})

Implementation

Error(
  this.requestTypeId,
  this.requestId,
  this.details,
  this.error, {
  List<dynamic>? arguments,
  Map<String, dynamic>? argumentsKeywords,
}) {
  id = MessageTypes.codeError;
  this.arguments = arguments;
  this.argumentsKeywords = argumentsKeywords;
}