dart format lib/

This commit is contained in:
Caleb Jasik 2025-02-13 14:23:25 -06:00
parent 8d7c1df1bc
commit a2f61a8368
No known key found for this signature in database
2 changed files with 2 additions and 7 deletions

View file

@ -111,10 +111,7 @@ class _IPAndPortFormField extends FormFieldState<IPAndPort> {
@override
void didUpdateWidget(IPAndPortFormField oldWidget) {
super.didUpdateWidget(oldWidget);
var update = IPAndPort(
ip: widget.ipController?.text,
port: int.tryParse(widget.portController?.text ?? ""),
);
var update = IPAndPort(ip: widget.ipController?.text, port: int.tryParse(widget.portController?.text ?? ""));
bool shouldUpdate = false;
if (widget.ipController != oldWidget.ipController) {

View file

@ -3,9 +3,7 @@ class CertificateInfo {
String? rawCert;
CertificateValidity? validity;
CertificateInfo.debug({this.rawCert = ""})
: cert = Certificate.debug(),
validity = CertificateValidity.debug();
CertificateInfo.debug({this.rawCert = ""}) : cert = Certificate.debug(), validity = CertificateValidity.debug();
CertificateInfo.fromJson(Map<String, dynamic> json)
: cert = Certificate.fromJson(json['Cert']),