Closed emersion closed 1 year ago
Currently the function returns a Future<String>, with a special-case of the empty string meaning "no distributor". This is unidiomatic Dart. It would be nicer to change it to Future<String?>, with null meaning "no distributor".
Future<String>
Future<String?>
@p1gp1g Would this require incrementing the major version?
Yes probably. I can revert the change and keep it in suspend
Currently the function returns a
Future<String>
, with a special-case of the empty string meaning "no distributor". This is unidiomatic Dart. It would be nicer to change it toFuture<String?>
, with null meaning "no distributor".