sqrt method Null safety
Implementation
Complex sqrt() {
final rr = r;
return Complex(dart.sqrt((real + rr) / 2),
(imaginary < 0 ? -1 : 1) * dart.sqrt((-real + rr) / 2));
}
Complex sqrt() {
final rr = r;
return Complex(dart.sqrt((real + rr) / 2),
(imaginary < 0 ? -1 : 1) * dart.sqrt((-real + rr) / 2));
}