outBuffersInfoMap function

Map<String, String> outBuffersInfoMap(
  1. String caller,
  2. String notCalled
)

Implementation

Map<String, String> outBuffersInfoMap(String caller, String notCalled) {
  Map<String, String> _retM = {};
  int i = 0;
  int mLength = out.outBufM.length;
  for (var x = 0; x < mLength; x++) {
    String _bufNameS = '';
    _bufNameS = out.outBufM.keys.elementAt(i);
    //  howTo NULL
    String _bufLengthS = '';
    //  howTo NULL buffer  using:   Map<String, StringBuffer> outBufM
    _bufLengthS = out.outBufM[_bufNameS]!.length.toString();

    _retM.putIfAbsent(_bufNameS, () => _bufLengthS);
    i++;
  }
  return _retM;
}