Skip to content

Commit 508face

Browse files
author
Sergey Khomushin
committed
EmailJSResponseStatus: add toString
1 parent d8b8787 commit 508face

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/models/emailjs_response_status.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ class EmailJSResponseStatus {
1010
this.status = 0,
1111
this.text = 'Network Error',
1212
});
13+
14+
@override
15+
String toString() {
16+
return '[$status] $text';
17+
}
1318
}

0 commit comments

Comments
 (0)