GitLabRepository.fromJson constructor

GitLabRepository.fromJson(
  1. Map json_
)

Implementation

GitLabRepository.fromJson(core.Map json_)
    : this(
        browseUri: json_.containsKey('browseUri')
            ? json_['browseUri'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        repositoryId: json_.containsKey('repositoryId')
            ? GitLabRepositoryId.fromJson(
                json_['repositoryId'] as core.Map<core.String, core.dynamic>)
            : null,
      );