toJson method

Map<String, dynamic> toJson()

Converts to a JSON map for the request body.

Implementation

Map<String, dynamic> toJson() => {
  'ip': ?ip,
  'severity': ?severity,
  'comment': ?comment,
  'expires_in': ?expiresIn,
};