flatPath function Null safety

String flatPath(
  1. String string
)

Implementation

String flatPath(String string) => string.replaceAll('ios/', '');