setMode abstract method Null safety

Future<bool> setMode(
  1. String environment
)

Sets environment.