NtpInformation class Null safety
NTP information.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
NtpInformation({required bool fromDhcp, List<
Ntp> ? ntpManual, List<Ntp> ? ntpFromDhcp}) -
NtpInformation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fromDhcp → bool
-
Indicates if NTP information is to be retrieved by using DHCP.
@JsonKey(name: 'FromDHCP', fromJson: OnvifUtil.mappedToBool), final
- hashCode → int
-
The hash code for this object.
read-only, inherited
-
ntpFromDhcp
→ List<
Ntp> ? -
List of NTP addresses retrieved by using DHCP.
@JsonKey(name: 'NTPFromDHCP', fromJson: _nullableNtpConverter), final
-
ntpManual
→ List<
Ntp> ? -
List of manually entered NTP addresses.
@JsonKey(name: 'NTPManual', fromJson: _nullableNtpConverter), 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