StoredContentsExample.fromJson constructor

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

Implementation

factory StoredContentsExample.fromJson(Map<String, dynamic> json) {
  return StoredContentsExample(
    searchKey: json['searchKey'] ?? '',
    contentsExample: decode(
      json['contentsExample'],
      ContentsExample.fromJson,
    ),
    searchKeyGenerationMethod: decode(
      json['searchKeyGenerationMethod'],
      StoredContentsExample_SearchKeyGenerationMethod.fromJson,
    ),
  );
}