OnvifUtil class

Helper functions for Onvif related operations

Constructors

OnvifUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

defaultConfigFile File
no setter
userHome String?
no setter

Static Methods

authenticatingUri(String uri, String username, String password) String
convertToLogOptions(String logLevel) → LogOptions
emptyMapToNull(Map<String, dynamic>? json) MulticastConfiguration?
jsonList<T>(dynamic json, T fromJson(dynamic)) List<T>
mappedToBool(Map<String, dynamic> value) bool
mappedToDateTime(Map<String, dynamic> value) DateTime
mappedToDouble(Map<String, dynamic> value) double
mappedToInt(Map<String, dynamic> value) int
mappedToStdDateTime(Map<String, dynamic> value) DateTime
mappedToString(Map<String, dynamic> value) String
mappedToStringList(Map<String, dynamic> value) List<String>
mappedToUri(Map<String, dynamic> value) Uri
nullableJsonList<T>(dynamic json, T fromJson(dynamic)) List<T>?
nullableMappedStdToDateTime(Map<String, dynamic>? value) DateTime?
nullableMappedToBool(Map<String, dynamic>? value) bool?
nullableMappedToDateTime(Map<String, dynamic>? value) DateTime?
nullableMappedToDouble(Map<String, dynamic>? value) double?
nullableMappedToInt(Map<String, dynamic>? value) int?
nullableMappedToIntList(String? value) List<int>?
nullableMappedToString(Map<String, dynamic>? value) String?
nullableMappedToStringList(List? value) List<String>?
nullableStringToBool(String? value) bool?
nullableStringToList(String? value) List<String>?
optionalBool(String? value) bool?
optionalDouble(String? value) double?
optionalInt(String? value) int?
parseHtmlString(String htmlString) String
stringOrMappedToBool(dynamic value) bool
stringToBool(String value) bool
stringToList(String value) List<String>
takeSnapshot(String username, String password, {required MediaUri snapshotUri}) Future<Uint8List>
takeSnapshotBase64(String username, String password, {required MediaUri snapshotUri}) Future<String>
takeSnapshotFile(String username, String password, {required MediaUri snapshotUri, required File fileStore}) Future<void>
xmlToMap(String soapResponse) Map<String, dynamic>