mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-02-21 10:35:26 +00:00
dart format lib/
This commit is contained in:
parent
8d7c1df1bc
commit
a2f61a8368
2 changed files with 2 additions and 7 deletions
|
@ -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) {
|
||||
|
|
|
@ -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']),
|
||||
|
|
Loading…
Reference in a new issue