Profile class Null safety

representation of a profile that exist in the media service

Annotations

Constructors

Profile({required String token, required bool fixed, required String name, VideoSourceConfiguration? videoSourceConfiguration, AudioSourceConfiguration? audioSourceConfiguration, VideoEncoderConfiguration? videoEncoderConfiguration, AudioEncoderConfiguration? audioEncoderConfiguration, VideoAnalyticsConfiguration? videoAnalyticsConfiguration, PtzConfiguration? ptzConfiguration})
Profile.fromJson(Map<String, dynamic> json)
factory

Properties

audioEncoderConfiguration AudioEncoderConfiguration?
Optional configuration of the Audio encoder.
@JsonKey(name: 'AudioEncoderConfiguration'), final
audioSourceConfiguration AudioSourceConfiguration?
Optional configuration of the Audio input.
@JsonKey(name: 'AudioSourceConfiguration'), final
fixed bool
A value of true signals that the profile cannot be deleted. Default is false.
@JsonKey(name: '@fixed', fromJson: OnvifUtil.stringToBool), final
hashCode int
The hash code for this object.
read-only, inherited
name String
User readable name of the profile.
@JsonKey(name: 'Name', fromJson: OnvifUtil.mappedToString), final
ptzConfiguration PtzConfiguration?
Optional configuration of the pan tilt zoom unit.
@JsonKey(name: 'PTZConfiguration'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
Unique identifier of the profile.
@JsonKey(name: '@token'), final
videoAnalyticsConfiguration VideoAnalyticsConfiguration?
Optional configuration of the video analytics module and rule engine.
@JsonKey(name: 'VideoAnalyticsConfiguration'), final
videoEncoderConfiguration VideoEncoderConfiguration?
Optional configuration of the Video encoder.
@JsonKey(name: 'VideoEncoderConfiguration'), final
videoSourceConfiguration VideoSourceConfiguration?
Optional configuration of the Video input.
@JsonKey(name: 'VideoSourceConfiguration'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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