encodeObject function

Map<String, String> encodeObject (
  1. String className,
  2. String objectId
)

Implementation

Map<String, String> encodeObject(String className, String objectId) {
  return <String, String>{
    '__type': 'Pointer',
    keyVarClassName: className,
    keyVarObjectId: objectId
  };
}