CommitResponse.fromJson constructor

CommitResponse.fromJson(
  1. Map json_
)

Implementation

CommitResponse.fromJson(core.Map json_)
    : this(
        commitStats: json_.containsKey('commitStats')
            ? CommitStats.fromJson(
                json_['commitStats'] as core.Map<core.String, core.dynamic>)
            : null,
        commitTimestamp: json_.containsKey('commitTimestamp')
            ? json_['commitTimestamp'] as core.String
            : null,
      );