RepoId.fromJson constructor Null safety

RepoId.fromJson(
  1. Map _json
)

Implementation

RepoId.fromJson(core.Map _json)
    : this(
        projectRepoId: _json.containsKey('projectRepoId')
            ? ProjectRepoId.fromJson(
                _json['projectRepoId'] as core.Map<core.String, core.dynamic>)
            : null,
        uid: _json.containsKey('uid') ? _json['uid'] as core.String : null,
      );