$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,
      );