getDataAsMap<R> method

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

Return raw (unwrapped) object data as Map 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, _unwrapValue(value)));