ObjectId.fromJson constructor

ObjectId.fromJson(
  1. Map json_
)

Implementation

ObjectId.fromJson(core.Map json_)
    : this(
        bucketName: json_.containsKey('bucketName')
            ? json_['bucketName'] as core.String
            : null,
        generation: json_.containsKey('generation')
            ? json_['generation'] as core.String
            : null,
        objectName: json_.containsKey('objectName')
            ? json_['objectName'] as core.String
            : null,
      );