PullRequest.fromJson constructor

PullRequest.fromJson(
  1. Map json_
)

Implementation

PullRequest.fromJson(core.Map json_)
    : this(
        maxMessages: json_.containsKey('maxMessages')
            ? json_['maxMessages'] as core.int
            : null,
        returnImmediately: json_.containsKey('returnImmediately')
            ? json_['returnImmediately'] as core.bool
            : null,
      );