ParentReference.fromJson constructor

ParentReference.fromJson(
  1. Map json_
)

Implementation

ParentReference.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        isRoot:
            json_.containsKey('isRoot') ? json_['isRoot'] as core.bool : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        parentLink: json_.containsKey('parentLink')
            ? json_['parentLink'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
      );