flip a string method dart code example Example: srring reverse dart string.split('').reversed.join('');