RuntimeVersion.fromJson constructor

RuntimeVersion.fromJson(
  1. Map _json
)

Implementation

RuntimeVersion.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        version: _json.containsKey('version')
            ? _json['version'] as core.String
            : null,
      );