Result.fromJson constructor

Result.fromJson(
  1. 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,
      );