Search constructor

Search({
  1. String? mode,
})

Creates an instance of Search.

Implementation

Search({
  String? mode,
}) : this.fromJson(
        JsonObject({
          if (mode != null) modeField.name: JsonString(mode),
        }),
      );