after method

String? after(
  1. Object? data
)

Implementation

String? after(Object? data) {
  if (data is int) {
    return this[data + 1];
  }
  if (data is String) {
    return this[data];
  }
  return this[data];
}