BitbucketServerConnectedRepository.fromJson constructor

BitbucketServerConnectedRepository.fromJson(
  1. Map json_
)

Implementation

BitbucketServerConnectedRepository.fromJson(core.Map json_)
    : this(
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        repo: json_.containsKey('repo')
            ? BitbucketServerRepositoryId.fromJson(
                json_['repo'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );