GoogleSearchIdeahubV1betaIdeaActivity.fromJson constructor

GoogleSearchIdeahubV1betaIdeaActivity.fromJson(
  1. Map _json
)

Implementation

GoogleSearchIdeahubV1betaIdeaActivity.fromJson(core.Map _json)
    : this(
        ideas: _json.containsKey('ideas')
            ? (_json['ideas'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        topics: _json.containsKey('topics')
            ? (_json['topics'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
        uri: _json.containsKey('uri') ? _json['uri'] as core.String : null,
      );