BitbucketServerRepository.fromJson constructor

BitbucketServerRepository.fromJson(
  1. Map json_
)

Implementation

BitbucketServerRepository.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,
        repoId: json_.containsKey('repoId')
            ? BitbucketServerRepositoryId.fromJson(
                json_['repoId'] as core.Map<core.String, core.dynamic>)
            : null,
      );