toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (longTermAllowed != null) 'longTermAllowed': longTermAllowed!,
      if (longTermDenied != null) 'longTermDenied': longTermDenied!,
      if (ratio != null) 'ratio': ratio!,
      if (shortTermAllowed != null) 'shortTermAllowed': shortTermAllowed!,
    };