$Browser.fromJson constructor Null safety

$Browser.fromJson(
  1. Map json_
)

Implementation

$Browser.fromJson(core.Map json_)
    : this(
        browserVersionId: json_.containsKey('browserVersionId')
            ? json_['browserVersionId'] as core.String
            : null,
        dartId: json_.containsKey('dartId')
            ? json_['dartId'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        majorVersion: json_.containsKey('majorVersion')
            ? json_['majorVersion'] as core.String
            : null,
        minorVersion: json_.containsKey('minorVersion')
            ? json_['minorVersion'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );