ObjectId.fromJson constructor

ObjectId.fromJson(
  1. Map _json
)

Implementation

ObjectId.fromJson(core.Map _json)
    : this(
        objectIdPath: _json.containsKey('objectIdPath')
            ? (_json['objectIdPath'] as core.List)
                .map<core.int>((value) => value as core.int)
                .toList()
            : null,
      );