Result.fromJson constructor
Result.fromJson(
- Map _json
Implementation
Result.fromJson(core.Map _json)
: this(
undefined: _json.containsKey('undefined')
? Empty.fromJson(
_json['undefined'] as core.Map<core.String, core.dynamic>)
: null,
value: _json.containsKey('value') ? _json['value'] : null,
);