BfdPacket.fromJson constructor
BfdPacket.fromJson(
- Map json_
Implementation
BfdPacket.fromJson(core.Map json_)
: this(
authenticationPresent: json_.containsKey('authenticationPresent')
? json_['authenticationPresent'] as core.bool
: null,
controlPlaneIndependent: json_.containsKey('controlPlaneIndependent')
? json_['controlPlaneIndependent'] as core.bool
: null,
demand:
json_.containsKey('demand') ? json_['demand'] as core.bool : null,
diagnostic: json_.containsKey('diagnostic')
? json_['diagnostic'] as core.String
: null,
final_:
json_.containsKey('final') ? json_['final'] as core.bool : null,
length:
json_.containsKey('length') ? json_['length'] as core.int : null,
minEchoRxIntervalMs: json_.containsKey('minEchoRxIntervalMs')
? json_['minEchoRxIntervalMs'] as core.int
: null,
minRxIntervalMs: json_.containsKey('minRxIntervalMs')
? json_['minRxIntervalMs'] as core.int
: null,
minTxIntervalMs: json_.containsKey('minTxIntervalMs')
? json_['minTxIntervalMs'] as core.int
: null,
multiplier: json_.containsKey('multiplier')
? json_['multiplier'] as core.int
: null,
multipoint: json_.containsKey('multipoint')
? json_['multipoint'] as core.bool
: null,
myDiscriminator: json_.containsKey('myDiscriminator')
? json_['myDiscriminator'] as core.int
: null,
poll: json_.containsKey('poll') ? json_['poll'] as core.bool : null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
version: json_.containsKey('version')
? json_['version'] as core.int
: null,
yourDiscriminator: json_.containsKey('yourDiscriminator')
? json_['yourDiscriminator'] as core.int
: null,
);