StoredContentsExampleParameters.fromJson constructor

StoredContentsExampleParameters.fromJson(
  1. Object? j
)

Implementation

factory StoredContentsExampleParameters.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return StoredContentsExampleParameters(
    searchKey: switch (json['searchKey']) {
      null => null,
      Object $1 => decodeString($1),
    },
    contentSearchKey: switch (json['contentSearchKey']) {
      null => null,
      Object $1 => StoredContentsExampleParameters_ContentSearchKey.fromJson(
        $1,
      ),
    },
    functionNames: switch (json['functionNames']) {
      null => null,
      Object $1 => ExamplesArrayFilter.fromJson($1),
    },
  );
}