SphereObject static method

Object SphereObject(
  1. String type, {
  2. List<Object>? args,
})

Implementation

static Object SphereObject(
  String type, {
  List<Object>? args,
}) =>
    {
      "\$object": type,
      "\$id": ++id,
      "args": args ?? [],
    };