DoubleCandidates.fromJson constructor
DoubleCandidates.fromJson(
- Map json_
Implementation
DoubleCandidates.fromJson(core.Map json_)
: this(
candidates: json_.containsKey('candidates')
? (json_['candidates'] as core.List)
.map((value) => (value as core.num).toDouble())
.toList()
: null,
);