LimitRangeItem.fromJson constructor

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

Creates a LimitRangeItem from JSON data.

Implementation

LimitRangeItem.fromJson(Map<String, dynamic> json)
    : this(
        $default: json['default'] != null
            ? Map<String, String>.from(json['default'])
            : null,
        defaultRequest: json['defaultRequest'] != null
            ? Map<String, String>.from(json['defaultRequest'])
            : null,
        max: json['max'] != null
            ? Map<String, String>.from(json['max'])
            : null,
        maxLimitRequestRatio: json['maxLimitRequestRatio'] != null
            ? Map<String, String>.from(json['maxLimitRequestRatio'])
            : null,
        min: json['min'] != null
            ? Map<String, String>.from(json['min'])
            : null,
        type: json['type'],
      );