OperationError.fromJson constructor

OperationError.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor to create an OperationError from json.

Params:

  • json: contains the source for instance creation.

Implementation

factory OperationError.fromJson(Map<String, dynamic> json) {
  return const OperationErrorConverter().fromJson(json);
}