String? before(Object? data) { if (data is int) { return this[data - 1]; } if (data is String) { return this[findIndex(data) ?? 0 - 1]; } return null; }