WooCommerceError.fromJson constructor

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

Implementation

WooCommerceError.fromJson(Map<String, dynamic> json) {
  _code = json['code'];
  _message = json['message'];
  _data = json['data'] != null ? Data.fromJson(json['data']) : null;
}