indentation function

String indentation({
  1. int level = 1,
})

Returns a string representing the indentation for the given level.

Implementation

String indentation({int level = 1}) => '  ' * level;