surround method

String surround({
  1. String left = '"',
  2. String right = '"',
})

Surround string with quotes (or custom characters)

Implementation

String surround({String left = '"', String right = '"'}) =>
    '$left$this$right';