$GitSourceContext.fromJson constructor Null safety

$GitSourceContext.fromJson(
  1. Map _json
)

Implementation

$GitSourceContext.fromJson(core.Map _json)
    : this(
        revisionId: _json.containsKey('revisionId')
            ? _json['revisionId'] as core.String
            : null,
        url: _json.containsKey('url') ? _json['url'] as core.String : null,
      );