getObjectType method

String? getObjectType()

For object reports - gets object type

Implementation

String? getObjectType() {
  if (type != 'objectInPath') return null;
  return details['objectType'] as String?;
}