GetLexiconOutput.fromJson constructor

GetLexiconOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetLexiconOutput.fromJson(Map<String, dynamic> json) {
  return GetLexiconOutput(
    lexicon: json['Lexicon'] != null
        ? Lexicon.fromJson(json['Lexicon'] as Map<String, dynamic>)
        : null,
    lexiconAttributes: json['LexiconAttributes'] != null
        ? LexiconAttributes.fromJson(
            json['LexiconAttributes'] as Map<String, dynamic>)
        : null,
  );
}