TestItem.fromJson constructor

TestItem.fromJson(
  1. Map json_
)

Implementation

TestItem.fromJson(core.Map json_)
    : this(
        featuredPart: json_.containsKey('featuredPart')
            ? json_['featuredPart'] as core.bool
            : null,
        gaia: json_.containsKey('gaia') ? json_['gaia'] as core.String : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        snippet: json_.containsKey('snippet')
            ? TestItemTestItemSnippet.fromJson(
                json_['snippet'] as core.Map<core.String, core.dynamic>)
            : null,
      );