DevMessageV2.hotReload constructor

DevMessageV2.hotReload({
  1. String? file,
  2. List<String>? components,
})

Helper constructors for common message types. Creates a hot reload message.

Implementation

/// Creates a hot reload message.
factory DevMessageV2.hotReload({String? file, List<String>? components}) =>
    DevMessageV2(type: DevMessageType.hotReload, file: file, components: components);