mapToCharacter function Null safety

List<Character> mapToCharacter(
  1. dynamic results
)

Implementation

List<Character> mapToCharacter(results) {
  return mapToInterface<Character>(results, (result) {
    return Character.fromJson(result);
  });
}