$FetchGitRefsResponse.fromJson constructor

$FetchGitRefsResponse.fromJson(
  1. Map json_
)

Implementation

$FetchGitRefsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        refNames: json_.containsKey('refNames')
            ? (json_['refNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );