registerMapExtensions function

void registerMapExtensions()

Registers all native methods for the Map type. This is called automatically by the VM.

Implementation

void registerMapExtensions() {
  registerNativeMethod(Length());
  registerNativeMethod(Keys());
  registerNativeMethod(Values());
  registerNativeMethod(ContainsKey());
  registerNativeMethod(IsNotEmpty());
  registerNativeMethod(IsEmpty());
  registerNativeMethod(ContainsValue());
  registerNativeMethod(ToString());
  registerNativeMethod(Merge());
  registerNativeMethod(Remove());
  registerNativeMethod(Clear());
  registerNativeMethod(ForEach());
}