GetUploadLimitsOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const GetUploadLimitsOutput({
  1. required bool canUpload,
  2. @Default(0) int remainingDailyVideos,
  3. @Default(0) int remainingDailyBytes,
  4. String? message,
  5. String? error,
  6. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetUploadLimitsOutput({
  required bool canUpload,
  @Default(0) int remainingDailyVideos,
  @Default(0) int remainingDailyBytes,
  String? message,
  String? error,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _GetUploadLimitsOutput;