Cursor.fromJson constructor

Cursor.fromJson(
  1. Map json_
)

Implementation

Cursor.fromJson(core.Map json_)
    : this(
        before:
            json_.containsKey('before') ? json_['before'] as core.bool : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => Value.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );