toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attemptDurationSeconds = this.attemptDurationSeconds;
  return {
    if (attemptDurationSeconds != null)
      'attemptDurationSeconds': attemptDurationSeconds,
  };
}