toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'verb': verb,
  if (target != null) 'target': target,
  'attempts': attempts,
  'elapsedMs': elapsed.inMilliseconds,
  'settle': settle.toJson(),
};