fetchId function

String? fetchId(
  1. Context context
)

Implementation

String? fetchId(Context context) {
  final yamlKeyName = context.yamlKeyName;

  final Map yamlData = getYamlKeyData(context);
  final String? id = yamlData["id"];

  return id as String?;
}