Details.fromJson constructor

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

Implementation

Details.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'];
}