SearchDataItemsRequest_OrderByAnnotation.fromJson constructor

SearchDataItemsRequest_OrderByAnnotation.fromJson(
  1. Object? j
)

Implementation

factory SearchDataItemsRequest_OrderByAnnotation.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return SearchDataItemsRequest_OrderByAnnotation(
    savedQuery: switch (json['savedQuery']) {
      null => '',
      Object $1 => decodeString($1),
    },
    orderBy: switch (json['orderBy']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}