EntityResult.fromJson constructor

EntityResult.fromJson(
  1. Map json_
)

Implementation

EntityResult.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        cursor: json_.containsKey('cursor')
            ? json_['cursor'] as core.String
            : null,
        entity: json_.containsKey('entity')
            ? Entity.fromJson(
                json_['entity'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );