NotAvailable constructor

NotAvailable({
  1. String? description,
  2. Period? during,
})

Creates an instance of NotAvailable.

Implementation

NotAvailable({
  String? description,
  Period? during,
}) : this.fromJson(
        JsonObject({
          if (description != null)
            descriptionField.name: JsonString(description),
          if (during != null) duringField.name: during.json,
        }),
      );