Result.fromJson constructor
Implementation
Result.fromJson(Map<String, Object?> json)
: context = ((v) => v != null
? SearchResultsEventContext.fromJson(v as Map<String, Object?>)
: null)(json['context']),
rank = ((v) => v != null ? (v as num).toDouble() : null)(json['rank']),
result = ((v) => v != null
? SDNEvent.fromJson(v as Map<String, Object?>)
: null)(json['result']);