changeCharacter method
Implementation
String changeCharacter(int? no, String? character) {
if (no == null || character == null || this == null) return this!;
if (no >= this!.length) return this!;
return this!.substring(0, no) + character + this!.substring(no + 1);
}