fromJson static method

AdError fromJson(
  1. dynamic json
)

Retrieve an AdError from a json

Implementation

static AdError fromJson(/* Map<String, dynamic> */ json) {
  return AdError(
    code: json['errorCode'],
    message: json['message'],
  );
}