RotatingBarcodeTotpDetails.fromJson constructor
RotatingBarcodeTotpDetails.fromJson(
- Map json_
Implementation
RotatingBarcodeTotpDetails.fromJson(core.Map json_)
: this(
algorithm: json_.containsKey('algorithm')
? json_['algorithm'] as core.String
: null,
parameters: json_.containsKey('parameters')
? (json_['parameters'] as core.List)
.map((value) =>
RotatingBarcodeTotpDetailsTotpParameters.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
periodMillis: json_.containsKey('periodMillis')
? json_['periodMillis'] as core.String
: null,
);