Head constructor

Head()

Implementation

Head()
  : super(
      methodName: "head",
      arity: 0,
      targetType: NativeMethodTarget.string,
      function: (target, _, _) {
        return target[0];
      },
    );