middleStringAtIndex method Null safety

String? middleStringAtIndex(
  1. int index
)

Implementation

String? middleStringAtIndex(int index);