toJson method

Map<String, dynamic> toJson()

Get the json representation of this object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'url': url,
    'has_custom_certificate': hasCustomCertificate,
    'pending_update_count': pendingUpdateCount,
    'ip_address': ipAddress,
    'last_error_date': lastErrorDate,
    'last_error_message': lastErrorMessage,
    'last_error_network_date': lastErrorNetworkDate,
    'max_connections': maxConnections,
    'allowed_updates': allowedUpdates,
  }..removeWhere(_nullFilter);
}