Box.fromJson constructor

Box.fromJson(
  1. dynamic json
)

Implementation

Box.fromJson(dynamic json) {
  _defaultBox = json['default_box'] != null ? DefaultBox.fromJson(json['defaultBox']) : null;
  _info = json['info'] != null ? IconInfo.fromJson(json['info']) : null;
  _color = json['color'] != null ? Color.fromJson(json['color']) : null;
}