ParseSubClassHandler constructor

ParseSubClassHandler({
  1. Map<String, ParseObjectConstructor>? registeredSubClassMap,
  2. ParseUserConstructor? parseUserConstructor,
  3. ParseFileConstructor? parseFileConstructor,
})

Implementation

ParseSubClassHandler(
    {Map<String, ParseObjectConstructor>? registeredSubClassMap,
    ParseUserConstructor? parseUserConstructor,
    ParseFileConstructor? parseFileConstructor}) {
  _subClassMap = registeredSubClassMap ?? <String, ParseObjectConstructor>{};
  _parseUserConstructor = parseUserConstructor;
  if (parseFileConstructor != null) {
    _parseFileConstructor = parseFileConstructor;
  }
}