NetworkProtocol class Null safety

Annotations

Constructors

NetworkProtocol({required String name, required bool enabled, required int port})
NetworkProtocol.fromJson(Map<String, dynamic> json)
factory

Properties

enabled bool
@JsonKey(name: 'Enabled', fromJson: OnvifUtil.mappedToBool), final
hashCode int
The hash code for this object.
read-only, inherited
name String
@JsonKey(name: 'Name', fromJson: OnvifUtil.mappedToString), final
port int
@JsonKey(name: 'Port', fromJson: OnvifUtil.mappedToInt), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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.
override

Operators

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