Result.fromJson constructor
Result.fromJson(
- Map json_
Implementation
Result.fromJson(core.Map json_)
: this(
consentDetails: json_.containsKey('consentDetails')
? (json_['consentDetails'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
ConsentEvaluation.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
consented: json_.containsKey('consented')
? json_['consented'] as core.bool
: null,
dataId: json_.containsKey('dataId')
? json_['dataId'] as core.String
: null,
);