ErrorItem.fromJson constructor

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

Implementation

ErrorItem.fromJson(Map<String, dynamic> json) {
label = json['label'];
name = json['name'];
value = json['value'] != null ? Value.fromJson(json['value']) : null;
type = json['type'];
view = json['view'];
header = json['header'];
classNames = json['classNames'];
amountValue = json['amountValue'];
valueLabel = json['valueLabel'];
errorCode = json['errorCode'];
errorMessage = json['errorMessage'];
}