NativeFunction class Null safety

A NativeFunction object is used to represent native functions in profiler samples. See CpuSamples;

Constructors

NativeFunction({String? name})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
name String?
The name of the native function this object represents.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(Map<String, dynamic>? json) NativeFunction?