SuggestionResponse.fromJson constructor
SuggestionResponse.fromJson(
- Map json_
Implementation
SuggestionResponse.fromJson(core.Map json_)
: this(
acceptedSuggestionIds: (json_['acceptedSuggestionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
createdSuggestionIds: (json_['createdSuggestionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
deletedSuggestionIds: (json_['deletedSuggestionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
rejectedSuggestionIds: (json_['rejectedSuggestionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
updatedSummarySuggestionIds:
(json_['updatedSummarySuggestionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);