toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'status'] = this.status;
  json[r'strategy'] = this.strategy;
  if (this.attempts != null) {
    json[r'attempts'] = this.attempts;
  } else {
    json[r'attempts'] = null;
  }
  if (this.expireAt != null) {
    json[r'expire_at'] = this.expireAt;
  } else {
    json[r'expire_at'] = null;
  }
  return json;
}