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((value) => value as core.int)
                .toList()
            : null,
      );