PartialStackFrame constructor Null safety

const PartialStackFrame(
  1. {required Pattern package,
  2. required String className,
  3. required String method}
)

Creates a new PartialStackFrame instance. All arguments are required and must not be null.

Implementation

const PartialStackFrame({
  required this.package,
  required this.className,
  required this.method,
}) : assert(className != null),
     assert(method != null),
     assert(package != null);