Requests.fromJson constructor
Requests.fromJson(
- Map json_
Implementation
Requests.fromJson(core.Map json_)
: this(
longTermAllowed: json_['longTermAllowed'] as core.int?,
longTermDenied: json_['longTermDenied'] as core.int?,
ratio: (json_['ratio'] as core.num?)?.toDouble(),
shortTermAllowed: json_['shortTermAllowed'] as core.int?,
);