toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (restart != null) '__restart': restart,
    };