mirror of
https://github.com/localsend/localsend.git
synced 2026-04-21 15:39:15 -04:00
18 lines
433 B
Dart
18 lines
433 B
Dart
import 'dart:io';
|
|
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
import 'package:localsend_app/model/server/receive_state.dart';
|
|
|
|
part 'server_state.freezed.dart';
|
|
|
|
@freezed
|
|
class ServerState with _$ServerState {
|
|
const factory ServerState({
|
|
required HttpServer httpServer,
|
|
required String alias,
|
|
required int port,
|
|
required bool https,
|
|
required ReceiveState? receiveState,
|
|
}) = _ServerState;
|
|
}
|