asObjectArray<V> method

Map<T, List<V>> asObjectArray<V>(
  1. IUnmarshalFactory<V> objFactory
)

As object array.

Implementation

Map<T, List<V> > asObjectArray<V>(IUnmarshalFactory<V> objFactory)
{
  // Deserialize keys using this object unmarshaller.
  for (int i = 0; i < _nativeMap.size(); i += 2)
  {
    int valuePosition = i + 1; // even

    _nativeMap.set(valuePosition, _nativeMap.get(valuePosition).asArray().asObject(objFactory) );
  }

  return _createDartMap<T, List<V> >();
}