EventingDetails.fromJson constructor

EventingDetails.fromJson(
  1. Map json_
)

Implementation

EventingDetails.fromJson(core.Map json_)
    : this(
        customEventTypes: json_.containsKey('customEventTypes')
            ? json_['customEventTypes'] as core.bool
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        documentationLink: json_.containsKey('documentationLink')
            ? json_['documentationLink'] as core.String
            : null,
        iconLocation: json_.containsKey('iconLocation')
            ? json_['iconLocation'] as core.String
            : null,
        launchStage: json_.containsKey('launchStage')
            ? json_['launchStage'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        searchTags: json_.containsKey('searchTags')
            ? (json_['searchTags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );