LimitResponse.fromJson constructor

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

Creates a LimitResponse from JSON data.

Implementation

LimitResponse.fromJson(Map<String, dynamic> json)
    : this(
        queuing: json['queuing'] != null
            ? QueuingConfiguration.fromJson(json['queuing'])
            : null,
        type: json['type'],
      );