CalDavBase class

Implementers

Constructors

CalDavBase({required String baseUrl, Map<String, dynamic>? headers, Duration? connectionTimeout})

Properties

baseUrl String
final
client HttpClient
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCal(String path, dynamic calendar, {Map<String, dynamic>? headers}) Future<CalResponse>
Create calendar
deleteCal(String path, String etag, {Map<String, dynamic>? headers}) Future<CalResponse>
Delete calendar
downloadIcs(String path, String savePath, {Map<String, dynamic>? headers}) Future<CalResponse>
Fetch the contents for the object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
propfind(String path, dynamic body, {int? depth, Map<String, dynamic>? headers}) Future<CalResponse>
Allows the client to fetch properties from a url.
report(String path, dynamic body, {int? depth, Map<String, dynamic>? headers}) Future<CalResponse>
REPORT performs a search for all calendar object resources that match a specified filter. The response of this report will contain all the WebDAV properties and calendar object resource data specified in the request.
toString() String
A string representation of this object.
inherited
updateCal(String path, String etag, dynamic calendar, {Map<String, dynamic>? headers}) Future<CalResponse>
Update calendar ifMatch the etag

Operators

operator ==(Object other) bool
The equality operator.
inherited