RestartConfig.fromString constructor Null safety

RestartConfig.fromString(
  1. String string
)

Implementation

factory RestartConfig.fromString(String string) {
  final parts = string.split(";");
  return RestartConfig(parts[0], parts.skip(1).join(";"));
}