addCommaToEnd method

String addCommaToEnd({
  1. bool isWant = true,
})

Implementation

String addCommaToEnd({bool isWant = true}) =>
    this.isNotNullOrEmpty ? this! + (isWant ? ',' : '') : '';