getDataAsMap<R> method

Map<String, R> getDataAsMap<R>()

Return raw (unwrapped) object data as Map<String, R> where R is not of type JsonNode but a dart StandardType (String, bool, etc).

Implementation

Map<String, R> getDataAsMap<R>() =>
    data.map((key, value) => MapEntry(key, value.data as R));