Challenge.fromJson constructor
Challenge.fromJson(
- Map json_
Implementation
Challenge.fromJson(core.Map json_)
: this(
alternativeChallenge: json_.containsKey('alternativeChallenge')
? SignedData.fromJson(json_['alternativeChallenge']
as core.Map<core.String, core.dynamic>)
: null,
challenge: json_.containsKey('challenge')
? SignedData.fromJson(
json_['challenge'] as core.Map<core.String, core.dynamic>)
: null,
);