toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (author != null) 'author': author!,
  if (branch != null) 'branch': branch!,
  if (commit != null) 'commit': commit!,
  if (commitMessage != null) 'commitMessage': commitMessage!,
  if (commitTime != null) 'commitTime': commitTime!,
  if (displayName != null) 'displayName': displayName!,
  if (hash != null) 'hash': hash!,
  if (uri != null) 'uri': uri!,
};