blob: 3509e685f4f658d44012c8cf5e3e946ae0f46144 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart';
import 'javascript_log_level.dart';
/// Represents a console message written to the JavaScript console.
class JavaScriptConsoleMessage {
/// Creates a [JavaScriptConsoleMessage].
const JavaScriptConsoleMessage({
required this.level,
required this.message,
/// The severity of a JavaScript log message.
final JavaScriptLogLevel level;
/// The message written to the console.
final String message;