Placeholder.fromJson constructor

Placeholder.fromJson(
  1. Map json_
)

Implementation

Placeholder.fromJson(core.Map json_)
    : this(
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
        parentObjectId: json_.containsKey('parentObjectId')
            ? json_['parentObjectId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );